#[non_exhaustive]pub struct AwsS3BucketDetailsBuilder { /* private fields */ }Expand description
A builder for AwsS3BucketDetails.
Implementations§
source§impl AwsS3BucketDetailsBuilder
impl AwsS3BucketDetailsBuilder
sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The canonical user ID of the owner of the S3 bucket.
sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The canonical user ID of the owner of the S3 bucket.
sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The canonical user ID of the owner of the S3 bucket.
sourcepub fn owner_name(self, input: impl Into<String>) -> Self
pub fn owner_name(self, input: impl Into<String>) -> Self
The display name of the owner of the S3 bucket.
sourcepub fn set_owner_name(self, input: Option<String>) -> Self
pub fn set_owner_name(self, input: Option<String>) -> Self
The display name of the owner of the S3 bucket.
sourcepub fn get_owner_name(&self) -> &Option<String>
pub fn get_owner_name(&self) -> &Option<String>
The display name of the owner of the S3 bucket.
sourcepub fn owner_account_id(self, input: impl Into<String>) -> Self
pub fn owner_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account identifier of the account that owns the S3 bucket.
sourcepub fn set_owner_account_id(self, input: Option<String>) -> Self
pub fn set_owner_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account identifier of the account that owns the S3 bucket.
sourcepub fn get_owner_account_id(&self) -> &Option<String>
pub fn get_owner_account_id(&self) -> &Option<String>
The Amazon Web Services account identifier of the account that owns the S3 bucket.
sourcepub fn created_at(self, input: impl Into<String>) -> Self
pub fn created_at(self, input: impl Into<String>) -> Self
Indicates when the S3 bucket was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
sourcepub fn set_created_at(self, input: Option<String>) -> Self
pub fn set_created_at(self, input: Option<String>) -> Self
Indicates when the S3 bucket was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
sourcepub fn get_created_at(&self) -> &Option<String>
pub fn get_created_at(&self) -> &Option<String>
Indicates when the S3 bucket was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces, and date and time should be separated by T. For example, 2020-03-22T13:22:13.933Z.
sourcepub fn server_side_encryption_configuration(
self,
input: AwsS3BucketServerSideEncryptionConfiguration
) -> Self
pub fn server_side_encryption_configuration( self, input: AwsS3BucketServerSideEncryptionConfiguration ) -> Self
The encryption rules that are applied to the S3 bucket.
sourcepub fn set_server_side_encryption_configuration(
self,
input: Option<AwsS3BucketServerSideEncryptionConfiguration>
) -> Self
pub fn set_server_side_encryption_configuration( self, input: Option<AwsS3BucketServerSideEncryptionConfiguration> ) -> Self
The encryption rules that are applied to the S3 bucket.
sourcepub fn get_server_side_encryption_configuration(
&self
) -> &Option<AwsS3BucketServerSideEncryptionConfiguration>
pub fn get_server_side_encryption_configuration( &self ) -> &Option<AwsS3BucketServerSideEncryptionConfiguration>
The encryption rules that are applied to the S3 bucket.
sourcepub fn bucket_lifecycle_configuration(
self,
input: AwsS3BucketBucketLifecycleConfigurationDetails
) -> Self
pub fn bucket_lifecycle_configuration( self, input: AwsS3BucketBucketLifecycleConfigurationDetails ) -> Self
The lifecycle configuration for objects in the specified bucket.
sourcepub fn set_bucket_lifecycle_configuration(
self,
input: Option<AwsS3BucketBucketLifecycleConfigurationDetails>
) -> Self
pub fn set_bucket_lifecycle_configuration( self, input: Option<AwsS3BucketBucketLifecycleConfigurationDetails> ) -> Self
The lifecycle configuration for objects in the specified bucket.
sourcepub fn get_bucket_lifecycle_configuration(
&self
) -> &Option<AwsS3BucketBucketLifecycleConfigurationDetails>
pub fn get_bucket_lifecycle_configuration( &self ) -> &Option<AwsS3BucketBucketLifecycleConfigurationDetails>
The lifecycle configuration for objects in the specified bucket.
sourcepub fn public_access_block_configuration(
self,
input: AwsS3AccountPublicAccessBlockDetails
) -> Self
pub fn public_access_block_configuration( self, input: AwsS3AccountPublicAccessBlockDetails ) -> Self
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
sourcepub fn set_public_access_block_configuration(
self,
input: Option<AwsS3AccountPublicAccessBlockDetails>
) -> Self
pub fn set_public_access_block_configuration( self, input: Option<AwsS3AccountPublicAccessBlockDetails> ) -> Self
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
sourcepub fn get_public_access_block_configuration(
&self
) -> &Option<AwsS3AccountPublicAccessBlockDetails>
pub fn get_public_access_block_configuration( &self ) -> &Option<AwsS3AccountPublicAccessBlockDetails>
Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.
sourcepub fn access_control_list(self, input: impl Into<String>) -> Self
pub fn access_control_list(self, input: impl Into<String>) -> Self
The access control list for the S3 bucket.
sourcepub fn set_access_control_list(self, input: Option<String>) -> Self
pub fn set_access_control_list(self, input: Option<String>) -> Self
The access control list for the S3 bucket.
sourcepub fn get_access_control_list(&self) -> &Option<String>
pub fn get_access_control_list(&self) -> &Option<String>
The access control list for the S3 bucket.
sourcepub fn bucket_logging_configuration(
self,
input: AwsS3BucketLoggingConfiguration
) -> Self
pub fn bucket_logging_configuration( self, input: AwsS3BucketLoggingConfiguration ) -> Self
The logging configuration for the S3 bucket.
sourcepub fn set_bucket_logging_configuration(
self,
input: Option<AwsS3BucketLoggingConfiguration>
) -> Self
pub fn set_bucket_logging_configuration( self, input: Option<AwsS3BucketLoggingConfiguration> ) -> Self
The logging configuration for the S3 bucket.
sourcepub fn get_bucket_logging_configuration(
&self
) -> &Option<AwsS3BucketLoggingConfiguration>
pub fn get_bucket_logging_configuration( &self ) -> &Option<AwsS3BucketLoggingConfiguration>
The logging configuration for the S3 bucket.
sourcepub fn bucket_website_configuration(
self,
input: AwsS3BucketWebsiteConfiguration
) -> Self
pub fn bucket_website_configuration( self, input: AwsS3BucketWebsiteConfiguration ) -> Self
The website configuration parameters for the S3 bucket.
sourcepub fn set_bucket_website_configuration(
self,
input: Option<AwsS3BucketWebsiteConfiguration>
) -> Self
pub fn set_bucket_website_configuration( self, input: Option<AwsS3BucketWebsiteConfiguration> ) -> Self
The website configuration parameters for the S3 bucket.
sourcepub fn get_bucket_website_configuration(
&self
) -> &Option<AwsS3BucketWebsiteConfiguration>
pub fn get_bucket_website_configuration( &self ) -> &Option<AwsS3BucketWebsiteConfiguration>
The website configuration parameters for the S3 bucket.
sourcepub fn bucket_notification_configuration(
self,
input: AwsS3BucketNotificationConfiguration
) -> Self
pub fn bucket_notification_configuration( self, input: AwsS3BucketNotificationConfiguration ) -> Self
The notification configuration for the S3 bucket.
sourcepub fn set_bucket_notification_configuration(
self,
input: Option<AwsS3BucketNotificationConfiguration>
) -> Self
pub fn set_bucket_notification_configuration( self, input: Option<AwsS3BucketNotificationConfiguration> ) -> Self
The notification configuration for the S3 bucket.
sourcepub fn get_bucket_notification_configuration(
&self
) -> &Option<AwsS3BucketNotificationConfiguration>
pub fn get_bucket_notification_configuration( &self ) -> &Option<AwsS3BucketNotificationConfiguration>
The notification configuration for the S3 bucket.
sourcepub fn bucket_versioning_configuration(
self,
input: AwsS3BucketBucketVersioningConfiguration
) -> Self
pub fn bucket_versioning_configuration( self, input: AwsS3BucketBucketVersioningConfiguration ) -> Self
The versioning state of an S3 bucket.
sourcepub fn set_bucket_versioning_configuration(
self,
input: Option<AwsS3BucketBucketVersioningConfiguration>
) -> Self
pub fn set_bucket_versioning_configuration( self, input: Option<AwsS3BucketBucketVersioningConfiguration> ) -> Self
The versioning state of an S3 bucket.
sourcepub fn get_bucket_versioning_configuration(
&self
) -> &Option<AwsS3BucketBucketVersioningConfiguration>
pub fn get_bucket_versioning_configuration( &self ) -> &Option<AwsS3BucketBucketVersioningConfiguration>
The versioning state of an S3 bucket.
sourcepub fn object_lock_configuration(
self,
input: AwsS3BucketObjectLockConfiguration
) -> Self
pub fn object_lock_configuration( self, input: AwsS3BucketObjectLockConfiguration ) -> Self
Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.
sourcepub fn set_object_lock_configuration(
self,
input: Option<AwsS3BucketObjectLockConfiguration>
) -> Self
pub fn set_object_lock_configuration( self, input: Option<AwsS3BucketObjectLockConfiguration> ) -> Self
Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.
sourcepub fn get_object_lock_configuration(
&self
) -> &Option<AwsS3BucketObjectLockConfiguration>
pub fn get_object_lock_configuration( &self ) -> &Option<AwsS3BucketObjectLockConfiguration>
Specifies which rule Amazon S3 applies by default to every new object placed in the bucket.
sourcepub fn build(self) -> AwsS3BucketDetails
pub fn build(self) -> AwsS3BucketDetails
Consumes the builder and constructs a AwsS3BucketDetails.
Trait Implementations§
source§impl Clone for AwsS3BucketDetailsBuilder
impl Clone for AwsS3BucketDetailsBuilder
source§fn clone(&self) -> AwsS3BucketDetailsBuilder
fn clone(&self) -> AwsS3BucketDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AwsS3BucketDetailsBuilder
impl Debug for AwsS3BucketDetailsBuilder
source§impl Default for AwsS3BucketDetailsBuilder
impl Default for AwsS3BucketDetailsBuilder
source§fn default() -> AwsS3BucketDetailsBuilder
fn default() -> AwsS3BucketDetailsBuilder
source§impl PartialEq for AwsS3BucketDetailsBuilder
impl PartialEq for AwsS3BucketDetailsBuilder
source§fn eq(&self, other: &AwsS3BucketDetailsBuilder) -> bool
fn eq(&self, other: &AwsS3BucketDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.