Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_bucket::builders::DeleteBucketInputBuilder
#[non_exhaustive]pub struct DeleteBucketInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBucketInput
.
Implementations§
§impl DeleteBucketInputBuilder
impl DeleteBucketInputBuilder
pub fn bucket(self, input: impl Into<String>) -> DeleteBucketInputBuilder
pub fn bucket(self, input: impl Into<String>) -> DeleteBucketInputBuilder
Specifies the bucket being deleted.
pub fn set_bucket(self, input: Option<String>) -> DeleteBucketInputBuilder
pub fn set_bucket(self, input: Option<String>) -> DeleteBucketInputBuilder
Specifies the bucket being deleted.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
Specifies the bucket being deleted.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> DeleteBucketInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> DeleteBucketInputBuilder
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>
) -> DeleteBucketInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> DeleteBucketInputBuilder
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<DeleteBucketInput, BuildError>
pub fn build(self) -> Result<DeleteBucketInput, BuildError>
Consumes the builder and constructs a DeleteBucketInput
.
§impl DeleteBucketInputBuilder
impl DeleteBucketInputBuilder
pub async fn send_with(
self,
client: &Client
) -> Result<DeleteBucketOutput, SdkError<DeleteBucketError, Response<SdkBody>>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteBucketOutput, SdkError<DeleteBucketError, Response<SdkBody>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for DeleteBucketInputBuilder
impl Clone for DeleteBucketInputBuilder
§fn clone(&self) -> DeleteBucketInputBuilder
fn clone(&self) -> DeleteBucketInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for DeleteBucketInputBuilder
impl Debug for DeleteBucketInputBuilder
§impl Default for DeleteBucketInputBuilder
impl Default for DeleteBucketInputBuilder
§fn default() -> DeleteBucketInputBuilder
fn default() -> DeleteBucketInputBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for DeleteBucketInputBuilder
impl PartialEq for DeleteBucketInputBuilder
§fn eq(&self, other: &DeleteBucketInputBuilder) -> bool
fn eq(&self, other: &DeleteBucketInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteBucketInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteBucketInputBuilder
impl Send for DeleteBucketInputBuilder
impl Sync for DeleteBucketInputBuilder
impl Unpin for DeleteBucketInputBuilder
impl UnwindSafe for DeleteBucketInputBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more