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