Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_bucket_replication::builders::DeleteBucketReplicationInputBuilder
pub struct DeleteBucketReplicationInputBuilder { /* private fields */ }
Expand description
A builder for DeleteBucketReplicationInput
.
Implementations§
§impl DeleteBucketReplicationInputBuilder
impl DeleteBucketReplicationInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> DeleteBucketReplicationInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> DeleteBucketReplicationInputBuilder
The bucket name.
pub fn set_bucket(
self,
input: Option<String>
) -> DeleteBucketReplicationInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> DeleteBucketReplicationInputBuilder
The bucket name.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The bucket name.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> DeleteBucketReplicationInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> DeleteBucketReplicationInputBuilder
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>
) -> DeleteBucketReplicationInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> DeleteBucketReplicationInputBuilder
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<DeleteBucketReplicationInput, BuildError>
pub fn build(self) -> Result<DeleteBucketReplicationInput, BuildError>
Consumes the builder and constructs a DeleteBucketReplicationInput
.
§impl DeleteBucketReplicationInputBuilder
impl DeleteBucketReplicationInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<DeleteBucketReplicationOutput, SdkError<DeleteBucketReplicationError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<DeleteBucketReplicationOutput, SdkError<DeleteBucketReplicationError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for DeleteBucketReplicationInputBuilder
impl Clone for DeleteBucketReplicationInputBuilder
§fn clone(&self) -> DeleteBucketReplicationInputBuilder
fn clone(&self) -> DeleteBucketReplicationInputBuilder
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 Default for DeleteBucketReplicationInputBuilder
impl Default for DeleteBucketReplicationInputBuilder
§fn default() -> DeleteBucketReplicationInputBuilder
fn default() -> DeleteBucketReplicationInputBuilder
Returns the “default value” for a type. Read more
§impl PartialEq<DeleteBucketReplicationInputBuilder> for DeleteBucketReplicationInputBuilder
impl PartialEq<DeleteBucketReplicationInputBuilder> for DeleteBucketReplicationInputBuilder
§fn eq(&self, other: &DeleteBucketReplicationInputBuilder) -> bool
fn eq(&self, other: &DeleteBucketReplicationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteBucketReplicationInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DeleteBucketReplicationInputBuilder
impl Send for DeleteBucketReplicationInputBuilder
impl Sync for DeleteBucketReplicationInputBuilder
impl Unpin for DeleteBucketReplicationInputBuilder
impl UnwindSafe for DeleteBucketReplicationInputBuilder
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