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