Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_bucket_replication::builders::GetBucketReplicationInputBuilder
pub struct GetBucketReplicationInputBuilder { /* private fields */ }
Expand description
A builder for GetBucketReplicationInput
.
Implementations§
§impl GetBucketReplicationInputBuilder
impl GetBucketReplicationInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> GetBucketReplicationInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> GetBucketReplicationInputBuilder
The bucket name for which to get the replication information.
pub fn set_bucket(
self,
input: Option<String>
) -> GetBucketReplicationInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> GetBucketReplicationInputBuilder
The bucket name for which to get the replication information.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The bucket name for which to get the replication information.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> GetBucketReplicationInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> GetBucketReplicationInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn set_expected_bucket_owner(
self,
input: Option<String>
) -> GetBucketReplicationInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> GetBucketReplicationInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn build(self) -> Result<GetBucketReplicationInput, BuildError>
pub fn build(self) -> Result<GetBucketReplicationInput, BuildError>
Consumes the builder and constructs a GetBucketReplicationInput
.
§impl GetBucketReplicationInputBuilder
impl GetBucketReplicationInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<GetBucketReplicationOutput, SdkError<GetBucketReplicationError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<GetBucketReplicationOutput, SdkError<GetBucketReplicationError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for GetBucketReplicationInputBuilder
impl Clone for GetBucketReplicationInputBuilder
§fn clone(&self) -> GetBucketReplicationInputBuilder
fn clone(&self) -> GetBucketReplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for GetBucketReplicationInputBuilder
impl Debug for GetBucketReplicationInputBuilder
§impl Default for GetBucketReplicationInputBuilder
impl Default for GetBucketReplicationInputBuilder
§fn default() -> GetBucketReplicationInputBuilder
fn default() -> GetBucketReplicationInputBuilder
§impl PartialEq<GetBucketReplicationInputBuilder> for GetBucketReplicationInputBuilder
impl PartialEq<GetBucketReplicationInputBuilder> for GetBucketReplicationInputBuilder
§fn eq(&self, other: &GetBucketReplicationInputBuilder) -> bool
fn eq(&self, other: &GetBucketReplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.