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