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