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<ReplicationDetailsBuilder> for ReplicationDetailsBuilder
impl PartialEq<ReplicationDetailsBuilder> 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 ==
.