Struct aws_sdk_macie2::types::ReplicationDetails
source · #[non_exhaustive]pub struct ReplicationDetails {
pub replicated: Option<bool>,
pub replicated_externally: Option<bool>,
pub replication_accounts: Option<Vec<String>>,
}
Expand description
Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other Amazon Web Services accounts and, if so, which accounts.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replicated: Option<bool>
Specifies whether the bucket is configured to replicate one or more objects to any destination.
replicated_externally: 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.
replication_accounts: 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.
Implementations§
source§impl ReplicationDetails
impl ReplicationDetails
sourcepub fn replicated(&self) -> Option<bool>
pub fn replicated(&self) -> Option<bool>
Specifies whether the bucket is configured to replicate one or more objects to any destination.
sourcepub fn replicated_externally(&self) -> Option<bool>
pub fn 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) -> Option<&[String]>
pub fn replication_accounts(&self) -> Option<&[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.
source§impl ReplicationDetails
impl ReplicationDetails
sourcepub fn builder() -> ReplicationDetailsBuilder
pub fn builder() -> ReplicationDetailsBuilder
Creates a new builder-style object to manufacture ReplicationDetails
.
Trait Implementations§
source§impl Clone for ReplicationDetails
impl Clone for ReplicationDetails
source§fn clone(&self) -> ReplicationDetails
fn clone(&self) -> ReplicationDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationDetails
impl Debug for ReplicationDetails
source§impl PartialEq<ReplicationDetails> for ReplicationDetails
impl PartialEq<ReplicationDetails> for ReplicationDetails
source§fn eq(&self, other: &ReplicationDetails) -> bool
fn eq(&self, other: &ReplicationDetails) -> bool
self
and other
values to be equal, and is used
by ==
.