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) -> &[String]
pub fn replication_accounts(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .replication_accounts.is_none().
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 for ReplicationDetails
impl PartialEq 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 ==.impl StructuralPartialEq for ReplicationDetails
Auto Trait Implementations§
impl Freeze for ReplicationDetails
impl RefUnwindSafe for ReplicationDetails
impl Send for ReplicationDetails
impl Sync for ReplicationDetails
impl Unpin for ReplicationDetails
impl UnwindSafe for ReplicationDetails
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