Struct aws_sdk_macie2::types::builders::ReplicationDetailsBuilder
source · #[non_exhaustive]pub struct ReplicationDetailsBuilder { /* private fields */ }Expand description
A builder for ReplicationDetails.
Implementations§
source§impl ReplicationDetailsBuilder
impl ReplicationDetailsBuilder
sourcepub fn replicated(self, input: bool) -> Self
pub fn replicated(self, input: bool) -> Self
Specifies whether the bucket is configured to replicate one or more objects to any destination.
sourcepub fn set_replicated(self, input: Option<bool>) -> Self
pub fn set_replicated(self, input: Option<bool>) -> Self
Specifies whether the bucket is configured to replicate one or more objects to any destination.
sourcepub fn get_replicated(&self) -> &Option<bool>
pub fn get_replicated(&self) -> &Option<bool>
Specifies whether the bucket is configured to replicate one or more objects to any destination.
sourcepub fn replicated_externally(self, input: bool) -> Self
pub fn replicated_externally(self, input: bool) -> Self
Specifies whether the bucket is configured to replicate one or more objects to a bucket for an Amazon Web Services account that isn't part of your Amazon Macie organization. An Amazon Macie organization is a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.
sourcepub fn set_replicated_externally(self, input: Option<bool>) -> Self
pub fn set_replicated_externally(self, input: Option<bool>) -> Self
Specifies whether the bucket is configured to replicate one or more objects to a bucket for an Amazon Web Services account that isn't part of your Amazon Macie organization. An Amazon Macie organization is a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.
sourcepub fn get_replicated_externally(&self) -> &Option<bool>
pub fn get_replicated_externally(&self) -> &Option<bool>
Specifies whether the bucket is configured to replicate one or more objects to a bucket for an Amazon Web Services account that isn't part of your Amazon Macie organization. An Amazon Macie organization is a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.
sourcepub fn replication_accounts(self, input: impl Into<String>) -> Self
pub fn replication_accounts(self, input: impl Into<String>) -> Self
Appends an item to replication_accounts.
To override the contents of this collection use set_replication_accounts.
An array of Amazon Web Services account IDs, one for each Amazon Web Services account that owns a bucket that the bucket is configured to replicate one or more objects to.
sourcepub fn set_replication_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_replication_accounts(self, input: Option<Vec<String>>) -> Self
An array of Amazon Web Services account IDs, one for each Amazon Web Services account that owns a bucket that the bucket is configured to replicate one or more objects to.
sourcepub fn get_replication_accounts(&self) -> &Option<Vec<String>>
pub fn get_replication_accounts(&self) -> &Option<Vec<String>>
An array of Amazon Web Services account IDs, one for each Amazon Web Services account that owns a bucket that the bucket is configured to replicate one or more objects to.
sourcepub fn build(self) -> ReplicationDetails
pub fn build(self) -> ReplicationDetails
Consumes the builder and constructs a ReplicationDetails.
Trait Implementations§
source§impl Clone for ReplicationDetailsBuilder
impl Clone for ReplicationDetailsBuilder
source§fn clone(&self) -> ReplicationDetailsBuilder
fn clone(&self) -> ReplicationDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ReplicationDetailsBuilder
impl Debug for ReplicationDetailsBuilder
source§impl Default for ReplicationDetailsBuilder
impl Default for ReplicationDetailsBuilder
source§fn default() -> ReplicationDetailsBuilder
fn default() -> ReplicationDetailsBuilder
source§impl PartialEq for ReplicationDetailsBuilder
impl PartialEq for ReplicationDetailsBuilder
source§fn eq(&self, other: &ReplicationDetailsBuilder) -> bool
fn eq(&self, other: &ReplicationDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ReplicationDetailsBuilder
Auto Trait Implementations§
impl Freeze for ReplicationDetailsBuilder
impl RefUnwindSafe for ReplicationDetailsBuilder
impl Send for ReplicationDetailsBuilder
impl Sync for ReplicationDetailsBuilder
impl Unpin for ReplicationDetailsBuilder
impl UnwindSafe for ReplicationDetailsBuilder
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
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>
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>
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 more