Struct aws_sdk_s3::model::InventoryS3BucketDestination
source · [−]#[non_exhaustive]pub struct InventoryS3BucketDestination {
pub account_id: Option<String>,
pub bucket: Option<String>,
pub format: Option<InventoryFormat>,
pub prefix: Option<String>,
pub encryption: Option<InventoryEncryption>,
}
Expand description
Contains the bucket name, file format, bucket owner (optional), and prefix (optional) where inventory results are published.
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.account_id: Option<String>
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
bucket: Option<String>
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
format: Option<InventoryFormat>
Specifies the output format of the inventory results.
prefix: Option<String>
The prefix that is prepended to all inventory results.
encryption: Option<InventoryEncryption>
Contains the type of server-side encryption used to encrypt the inventory results.
Implementations
sourceimpl InventoryS3BucketDestination
impl InventoryS3BucketDestination
sourcepub fn account_id(&self) -> Option<&str>
pub fn account_id(&self) -> Option<&str>
The account ID that owns the destination S3 bucket. If no account ID is provided, the owner is not validated before exporting data.
Although this value is optional, we strongly recommend that you set it to help prevent problems if the destination bucket ownership changes.
sourcepub fn bucket(&self) -> Option<&str>
pub fn bucket(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
sourcepub fn format(&self) -> Option<&InventoryFormat>
pub fn format(&self) -> Option<&InventoryFormat>
Specifies the output format of the inventory results.
sourcepub fn encryption(&self) -> Option<&InventoryEncryption>
pub fn encryption(&self) -> Option<&InventoryEncryption>
Contains the type of server-side encryption used to encrypt the inventory results.
sourceimpl InventoryS3BucketDestination
impl InventoryS3BucketDestination
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InventoryS3BucketDestination
.
Trait Implementations
sourceimpl Clone for InventoryS3BucketDestination
impl Clone for InventoryS3BucketDestination
sourcefn clone(&self) -> InventoryS3BucketDestination
fn clone(&self) -> InventoryS3BucketDestination
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 InventoryS3BucketDestination
impl Debug for InventoryS3BucketDestination
sourceimpl PartialEq<InventoryS3BucketDestination> for InventoryS3BucketDestination
impl PartialEq<InventoryS3BucketDestination> for InventoryS3BucketDestination
sourcefn eq(&self, other: &InventoryS3BucketDestination) -> bool
fn eq(&self, other: &InventoryS3BucketDestination) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &InventoryS3BucketDestination) -> bool
fn ne(&self, other: &InventoryS3BucketDestination) -> bool
This method tests for !=
.
impl StructuralPartialEq for InventoryS3BucketDestination
Auto Trait Implementations
impl RefUnwindSafe for InventoryS3BucketDestination
impl Send for InventoryS3BucketDestination
impl Sync for InventoryS3BucketDestination
impl Unpin for InventoryS3BucketDestination
impl UnwindSafe for InventoryS3BucketDestination
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> 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