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