Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::put_bucket_inventory_configuration::builders::PutBucketInventoryConfigurationInputBuilder
pub struct PutBucketInventoryConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for PutBucketInventoryConfigurationInput
.
Implementations§
§impl PutBucketInventoryConfigurationInputBuilder
impl PutBucketInventoryConfigurationInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> PutBucketInventoryConfigurationInputBuilder
The name of the bucket where the inventory configuration will be stored.
pub fn set_bucket(
self,
input: Option<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> PutBucketInventoryConfigurationInputBuilder
The name of the bucket where the inventory configuration will be stored.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket where the inventory configuration will be stored.
pub fn id(
self,
input: impl Into<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn id( self, input: impl Into<String> ) -> PutBucketInventoryConfigurationInputBuilder
The ID used to identify the inventory configuration.
pub fn set_id(
self,
input: Option<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn set_id( self, input: Option<String> ) -> PutBucketInventoryConfigurationInputBuilder
The ID used to identify the inventory configuration.
pub fn inventory_configuration(
self,
input: InventoryConfiguration
) -> PutBucketInventoryConfigurationInputBuilder
pub fn inventory_configuration( self, input: InventoryConfiguration ) -> PutBucketInventoryConfigurationInputBuilder
Specifies the inventory configuration.
pub fn set_inventory_configuration(
self,
input: Option<InventoryConfiguration>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn set_inventory_configuration( self, input: Option<InventoryConfiguration> ) -> PutBucketInventoryConfigurationInputBuilder
Specifies the inventory configuration.
pub fn get_inventory_configuration(&self) -> &Option<InventoryConfiguration>
pub fn get_inventory_configuration(&self) -> &Option<InventoryConfiguration>
Specifies the inventory configuration.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> PutBucketInventoryConfigurationInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn set_expected_bucket_owner(
self,
input: Option<String>
) -> PutBucketInventoryConfigurationInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> PutBucketInventoryConfigurationInputBuilder
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
pub fn build(self) -> Result<PutBucketInventoryConfigurationInput, BuildError>
pub fn build(self) -> Result<PutBucketInventoryConfigurationInput, BuildError>
Consumes the builder and constructs a PutBucketInventoryConfigurationInput
.
§impl PutBucketInventoryConfigurationInputBuilder
impl PutBucketInventoryConfigurationInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<PutBucketInventoryConfigurationOutput, SdkError<PutBucketInventoryConfigurationError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<PutBucketInventoryConfigurationOutput, SdkError<PutBucketInventoryConfigurationError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for PutBucketInventoryConfigurationInputBuilder
impl Clone for PutBucketInventoryConfigurationInputBuilder
§fn clone(&self) -> PutBucketInventoryConfigurationInputBuilder
fn clone(&self) -> PutBucketInventoryConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for PutBucketInventoryConfigurationInputBuilder
impl Default for PutBucketInventoryConfigurationInputBuilder
§fn default() -> PutBucketInventoryConfigurationInputBuilder
fn default() -> PutBucketInventoryConfigurationInputBuilder
§impl PartialEq<PutBucketInventoryConfigurationInputBuilder> for PutBucketInventoryConfigurationInputBuilder
impl PartialEq<PutBucketInventoryConfigurationInputBuilder> for PutBucketInventoryConfigurationInputBuilder
§fn eq(&self, other: &PutBucketInventoryConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutBucketInventoryConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.