Struct aws_sdk_macie2::model::replication_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ReplicationDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 an Amazon Web Services account that isn't part of the same Amazon Macie organization.
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 an Amazon Web Services account that isn't part of the same Amazon Macie organization.
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 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 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
.