Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::put_bucket_notification_configuration::builders::PutBucketNotificationConfigurationInputBuilder
pub struct PutBucketNotificationConfigurationInputBuilder { /* private fields */ }
Expand description
A builder for PutBucketNotificationConfigurationInput
.
Implementations§
§impl PutBucketNotificationConfigurationInputBuilder
impl PutBucketNotificationConfigurationInputBuilder
pub fn bucket(
self,
input: impl Into<String>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn bucket( self, input: impl Into<String> ) -> PutBucketNotificationConfigurationInputBuilder
The name of the bucket.
pub fn set_bucket(
self,
input: Option<String>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn set_bucket( self, input: Option<String> ) -> PutBucketNotificationConfigurationInputBuilder
The name of the bucket.
pub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the bucket.
pub fn notification_configuration(
self,
input: NotificationConfiguration
) -> PutBucketNotificationConfigurationInputBuilder
pub fn notification_configuration( self, input: NotificationConfiguration ) -> PutBucketNotificationConfigurationInputBuilder
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
pub fn set_notification_configuration(
self,
input: Option<NotificationConfiguration>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn set_notification_configuration( self, input: Option<NotificationConfiguration> ) -> PutBucketNotificationConfigurationInputBuilder
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
pub fn get_notification_configuration(
&self
) -> &Option<NotificationConfiguration>
pub fn get_notification_configuration( &self ) -> &Option<NotificationConfiguration>
A container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off for the bucket.
pub fn expected_bucket_owner(
self,
input: impl Into<String>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn expected_bucket_owner( self, input: impl Into<String> ) -> PutBucketNotificationConfigurationInputBuilder
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>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn set_expected_bucket_owner( self, input: Option<String> ) -> PutBucketNotificationConfigurationInputBuilder
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 skip_destination_validation(
self,
input: bool
) -> PutBucketNotificationConfigurationInputBuilder
pub fn skip_destination_validation( self, input: bool ) -> PutBucketNotificationConfigurationInputBuilder
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
pub fn set_skip_destination_validation(
self,
input: Option<bool>
) -> PutBucketNotificationConfigurationInputBuilder
pub fn set_skip_destination_validation( self, input: Option<bool> ) -> PutBucketNotificationConfigurationInputBuilder
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
pub fn get_skip_destination_validation(&self) -> &Option<bool>
pub fn get_skip_destination_validation(&self) -> &Option<bool>
Skips validation of Amazon SQS, Amazon SNS, and Lambda destinations. True or false value.
pub fn build(
self
) -> Result<PutBucketNotificationConfigurationInput, BuildError>
pub fn build( self ) -> Result<PutBucketNotificationConfigurationInput, BuildError>
Consumes the builder and constructs a PutBucketNotificationConfigurationInput
.
§impl PutBucketNotificationConfigurationInputBuilder
impl PutBucketNotificationConfigurationInputBuilder
pub async fn send_with(
self,
client: &Client
) -> impl Future<Output = Result<PutBucketNotificationConfigurationOutput, SdkError<PutBucketNotificationConfigurationError, Response<SdkBody>>>>
pub async fn send_with( self, client: &Client ) -> impl Future<Output = Result<PutBucketNotificationConfigurationOutput, SdkError<PutBucketNotificationConfigurationError, Response<SdkBody>>>>
Sends a request with this input using the given client.
Trait Implementations§
§impl Clone for PutBucketNotificationConfigurationInputBuilder
impl Clone for PutBucketNotificationConfigurationInputBuilder
§fn clone(&self) -> PutBucketNotificationConfigurationInputBuilder
fn clone(&self) -> PutBucketNotificationConfigurationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Default for PutBucketNotificationConfigurationInputBuilder
impl Default for PutBucketNotificationConfigurationInputBuilder
§fn default() -> PutBucketNotificationConfigurationInputBuilder
fn default() -> PutBucketNotificationConfigurationInputBuilder
§impl PartialEq<PutBucketNotificationConfigurationInputBuilder> for PutBucketNotificationConfigurationInputBuilder
impl PartialEq<PutBucketNotificationConfigurationInputBuilder> for PutBucketNotificationConfigurationInputBuilder
§fn eq(&self, other: &PutBucketNotificationConfigurationInputBuilder) -> bool
fn eq(&self, other: &PutBucketNotificationConfigurationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.