Struct aws_sdk_s3control::operation::get_bucket_replication::builders::GetBucketReplicationOutputBuilder
source · #[non_exhaustive]pub struct GetBucketReplicationOutputBuilder { /* private fields */ }Expand description
A builder for GetBucketReplicationOutput.
Implementations§
source§impl GetBucketReplicationOutputBuilder
impl GetBucketReplicationOutputBuilder
sourcepub fn replication_configuration(self, input: ReplicationConfiguration) -> Self
pub fn replication_configuration(self, input: ReplicationConfiguration) -> Self
A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.
sourcepub fn set_replication_configuration(
self,
input: Option<ReplicationConfiguration>
) -> Self
pub fn set_replication_configuration( self, input: Option<ReplicationConfiguration> ) -> Self
A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.
sourcepub fn get_replication_configuration(&self) -> &Option<ReplicationConfiguration>
pub fn get_replication_configuration(&self) -> &Option<ReplicationConfiguration>
A container for one or more replication rules. A replication configuration must have at least one rule and you can add up to 100 rules. The maximum size of a replication configuration is 128 KB.
sourcepub fn build(self) -> GetBucketReplicationOutput
pub fn build(self) -> GetBucketReplicationOutput
Consumes the builder and constructs a GetBucketReplicationOutput.
Trait Implementations§
source§impl Clone for GetBucketReplicationOutputBuilder
impl Clone for GetBucketReplicationOutputBuilder
source§fn clone(&self) -> GetBucketReplicationOutputBuilder
fn clone(&self) -> GetBucketReplicationOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for GetBucketReplicationOutputBuilder
impl Default for GetBucketReplicationOutputBuilder
source§fn default() -> GetBucketReplicationOutputBuilder
fn default() -> GetBucketReplicationOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketReplicationOutputBuilder
impl PartialEq for GetBucketReplicationOutputBuilder
source§fn eq(&self, other: &GetBucketReplicationOutputBuilder) -> bool
fn eq(&self, other: &GetBucketReplicationOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GetBucketReplicationOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketReplicationOutputBuilder
impl RefUnwindSafe for GetBucketReplicationOutputBuilder
impl Send for GetBucketReplicationOutputBuilder
impl Sync for GetBucketReplicationOutputBuilder
impl Unpin for GetBucketReplicationOutputBuilder
impl UnwindSafe for GetBucketReplicationOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.