pub struct InventoryS3BucketDestinationBuilder { /* private fields */ }
Expand description
A builder for InventoryS3BucketDestination
.
Implementations§
§impl InventoryS3BucketDestinationBuilder
impl InventoryS3BucketDestinationBuilder
pub fn account_id(
self,
input: impl Into<String>
) -> InventoryS3BucketDestinationBuilder
pub fn account_id( self, input: impl Into<String> ) -> InventoryS3BucketDestinationBuilder
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 set_account_id(
self,
input: Option<String>
) -> InventoryS3BucketDestinationBuilder
pub fn set_account_id( self, input: Option<String> ) -> InventoryS3BucketDestinationBuilder
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 get_account_id(&self) -> &Option<String>
pub fn get_account_id(&self) -> &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.
pub fn bucket(
self,
input: impl Into<String>
) -> InventoryS3BucketDestinationBuilder
pub fn bucket( self, input: impl Into<String> ) -> InventoryS3BucketDestinationBuilder
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
pub fn set_bucket(
self,
input: Option<String>
) -> InventoryS3BucketDestinationBuilder
pub fn set_bucket( self, input: Option<String> ) -> InventoryS3BucketDestinationBuilder
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the bucket where inventory results will be published.
pub fn format(
self,
input: InventoryFormat
) -> InventoryS3BucketDestinationBuilder
pub fn format( self, input: InventoryFormat ) -> InventoryS3BucketDestinationBuilder
Specifies the output format of the inventory results.
pub fn set_format(
self,
input: Option<InventoryFormat>
) -> InventoryS3BucketDestinationBuilder
pub fn set_format( self, input: Option<InventoryFormat> ) -> InventoryS3BucketDestinationBuilder
Specifies the output format of the inventory results.
pub fn get_format(&self) -> &Option<InventoryFormat>
pub fn get_format(&self) -> &Option<InventoryFormat>
Specifies the output format of the inventory results.
pub fn prefix(
self,
input: impl Into<String>
) -> InventoryS3BucketDestinationBuilder
pub fn prefix( self, input: impl Into<String> ) -> InventoryS3BucketDestinationBuilder
The prefix that is prepended to all inventory results.
pub fn set_prefix(
self,
input: Option<String>
) -> InventoryS3BucketDestinationBuilder
pub fn set_prefix( self, input: Option<String> ) -> InventoryS3BucketDestinationBuilder
The prefix that is prepended to all inventory results.
pub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
The prefix that is prepended to all inventory results.
pub fn encryption(
self,
input: InventoryEncryption
) -> InventoryS3BucketDestinationBuilder
pub fn encryption( self, input: InventoryEncryption ) -> InventoryS3BucketDestinationBuilder
Contains the type of server-side encryption used to encrypt the inventory results.
pub fn set_encryption(
self,
input: Option<InventoryEncryption>
) -> InventoryS3BucketDestinationBuilder
pub fn set_encryption( self, input: Option<InventoryEncryption> ) -> InventoryS3BucketDestinationBuilder
Contains the type of server-side encryption used to encrypt the inventory results.
pub fn get_encryption(&self) -> &Option<InventoryEncryption>
pub fn get_encryption(&self) -> &Option<InventoryEncryption>
Contains the type of server-side encryption used to encrypt the inventory results.
pub fn build(self) -> InventoryS3BucketDestination
pub fn build(self) -> InventoryS3BucketDestination
Consumes the builder and constructs a InventoryS3BucketDestination
.
Trait Implementations§
§impl Clone for InventoryS3BucketDestinationBuilder
impl Clone for InventoryS3BucketDestinationBuilder
§fn clone(&self) -> InventoryS3BucketDestinationBuilder
fn clone(&self) -> InventoryS3BucketDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for InventoryS3BucketDestinationBuilder
impl Default for InventoryS3BucketDestinationBuilder
§fn default() -> InventoryS3BucketDestinationBuilder
fn default() -> InventoryS3BucketDestinationBuilder
§impl PartialEq<InventoryS3BucketDestinationBuilder> for InventoryS3BucketDestinationBuilder
impl PartialEq<InventoryS3BucketDestinationBuilder> for InventoryS3BucketDestinationBuilder
§fn eq(&self, other: &InventoryS3BucketDestinationBuilder) -> bool
fn eq(&self, other: &InventoryS3BucketDestinationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.