Struct aws_sdk_s3::types::InventoryS3BucketDestination
source · #[non_exhaustive]pub struct InventoryS3BucketDestination {
pub account_id: Option<String>,
pub bucket: String,
pub format: 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: String
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
format: 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§
source§impl 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) -> &str
pub fn bucket(&self) -> &str
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
sourcepub fn format(&self) -> &InventoryFormat
pub fn format(&self) -> &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.
source§impl InventoryS3BucketDestination
impl InventoryS3BucketDestination
sourcepub fn builder() -> InventoryS3BucketDestinationBuilder
pub fn builder() -> InventoryS3BucketDestinationBuilder
Creates a new builder-style object to manufacture InventoryS3BucketDestination
.
Trait Implementations§
source§impl Clone for InventoryS3BucketDestination
impl Clone for InventoryS3BucketDestination
source§fn clone(&self) -> InventoryS3BucketDestination
fn clone(&self) -> InventoryS3BucketDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for InventoryS3BucketDestination
impl Debug for InventoryS3BucketDestination
source§impl PartialEq for InventoryS3BucketDestination
impl PartialEq for InventoryS3BucketDestination
source§fn eq(&self, other: &InventoryS3BucketDestination) -> bool
fn eq(&self, other: &InventoryS3BucketDestination) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for InventoryS3BucketDestination
Auto Trait Implementations§
impl Freeze for InventoryS3BucketDestination
impl RefUnwindSafe for InventoryS3BucketDestination
impl Send for InventoryS3BucketDestination
impl Sync for InventoryS3BucketDestination
impl Unpin for InventoryS3BucketDestination
impl UnwindSafe for InventoryS3BucketDestination
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)