Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::InventoryS3BucketDestination
#[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§
§impl InventoryS3BucketDestination
impl InventoryS3BucketDestination
pub 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.
pub 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.
pub fn format(&self) -> Option<&InventoryFormat>
pub fn format(&self) -> Option<&InventoryFormat>
Specifies the output format of the inventory results.
pub fn encryption(&self) -> Option<&InventoryEncryption>
pub fn encryption(&self) -> Option<&InventoryEncryption>
Contains the type of server-side encryption used to encrypt the inventory results.
§impl InventoryS3BucketDestination
impl InventoryS3BucketDestination
pub fn builder() -> InventoryS3BucketDestinationBuilder
pub fn builder() -> InventoryS3BucketDestinationBuilder
Creates a new builder-style object to manufacture InventoryS3BucketDestination
.
Trait Implementations§
§impl Clone for InventoryS3BucketDestination
impl Clone for InventoryS3BucketDestination
§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 more§impl Debug for InventoryS3BucketDestination
impl Debug for InventoryS3BucketDestination
§impl PartialEq for InventoryS3BucketDestination
impl PartialEq for InventoryS3BucketDestination
§fn eq(&self, other: &InventoryS3BucketDestination) -> bool
fn eq(&self, other: &InventoryS3BucketDestination) -> bool
self
and other
values to be equal, and is used
by ==
.