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