Struct aws_sdk_macie2::model::ReplicationDetails
source · [−]#[non_exhaustive]pub struct ReplicationDetails {
pub replicated: bool,
pub replicated_externally: 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: bool
Specifies whether the bucket is configured to replicate one or more objects to any destination.
replicated_externally: bool
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.
replication_accounts: Option<Vec<String>>
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.
Implementations
sourceimpl ReplicationDetails
impl ReplicationDetails
sourcepub fn replicated(&self) -> bool
pub fn replicated(&self) -> bool
Specifies whether the bucket is configured to replicate one or more objects to any destination.
sourcepub fn replicated_externally(&self) -> bool
pub fn replicated_externally(&self) -> bool
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.
sourceimpl ReplicationDetails
impl ReplicationDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicationDetails
Trait Implementations
sourceimpl Clone for ReplicationDetails
impl Clone for ReplicationDetails
sourcefn clone(&self) -> ReplicationDetails
fn clone(&self) -> ReplicationDetails
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ReplicationDetails
impl Debug for ReplicationDetails
sourceimpl PartialEq<ReplicationDetails> for ReplicationDetails
impl PartialEq<ReplicationDetails> for ReplicationDetails
sourcefn eq(&self, other: &ReplicationDetails) -> bool
fn eq(&self, other: &ReplicationDetails) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ReplicationDetails) -> bool
fn ne(&self, other: &ReplicationDetails) -> bool
This method tests for !=
.
impl StructuralPartialEq for ReplicationDetails
Auto Trait Implementations
impl RefUnwindSafe for ReplicationDetails
impl Send for ReplicationDetails
impl Sync for ReplicationDetails
impl Unpin for ReplicationDetails
impl UnwindSafe for ReplicationDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more