Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_bucket_inventory_configuration::builders::DeleteBucketInventoryConfigurationInputBuilder
pub struct DeleteBucketInventoryConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBucketInventoryConfigurationInput
.
Implementations§
§impl DeleteBucketInventoryConfigurationInputBuilder
impl DeleteBucketInventoryConfigurationInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
The name of the bucket containing the inventory configuration to delete.
pub fn set_bucket(
self,
input: Option<String>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
The name of the bucket containing the inventory configuration to delete.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket containing the inventory configuration to delete.
pub fn id(
self,
input: impl Into<String>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn id( self, input: impl Into<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
The ID used to identify the inventory configuration.
pub fn set_id(
self,
input: Option<String>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn set_id( self, input: Option<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
The ID used to identify the inventory configuration.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
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>
) -> DeleteBucketInventoryConfigurationInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> DeleteBucketInventoryConfigurationInputBuilder
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<DeleteBucketInventoryConfigurationInput, BuildError>
pub fn build( self ) -> Result<DeleteBucketInventoryConfigurationInput, BuildError>
Consumes the builder and constructs a DeleteBucketInventoryConfigurationInput
.
§impl DeleteBucketInventoryConfigurationInputBuilder
impl DeleteBucketInventoryConfigurationInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<DeleteBucketInventoryConfigurationOutput, SdkError<DeleteBucketInventoryConfigurationError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<DeleteBucketInventoryConfigurationOutput, SdkError<DeleteBucketInventoryConfigurationError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for DeleteBucketInventoryConfigurationInputBuilder
impl Clone for DeleteBucketInventoryConfigurationInputBuilder
§fn clone(&self) -> DeleteBucketInventoryConfigurationInputBuilder
fn clone(&self) -> DeleteBucketInventoryConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for DeleteBucketInventoryConfigurationInputBuilder
impl Default for DeleteBucketInventoryConfigurationInputBuilder
§fn default() -> DeleteBucketInventoryConfigurationInputBuilder
fn default() -> DeleteBucketInventoryConfigurationInputBuilder
§impl PartialEq<DeleteBucketInventoryConfigurationInputBuilder> for DeleteBucketInventoryConfigurationInputBuilder
impl PartialEq<DeleteBucketInventoryConfigurationInputBuilder> for DeleteBucketInventoryConfigurationInputBuilder
§fn eq(&self, other: &DeleteBucketInventoryConfigurationInputBuilder) -> bool
fn eq(&self, other: &DeleteBucketInventoryConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.