#[non_exhaustive]
pub struct AwsS3BucketDetailsBuilder { /* private fields */ }
Expand description

A builder for AwsS3BucketDetails.

Implementations§

source§

impl AwsS3BucketDetailsBuilder

source

pub fn owner_id(self, input: impl Into<String>) -> Self

The canonical user ID of the owner of the S3 bucket.

source

pub fn set_owner_id(self, input: Option<String>) -> Self

The canonical user ID of the owner of the S3 bucket.

source

pub fn get_owner_id(&self) -> &Option<String>

The canonical user ID of the owner of the S3 bucket.

source

pub fn owner_name(self, input: impl Into<String>) -> Self

The display name of the owner of the S3 bucket.

source

pub fn set_owner_name(self, input: Option<String>) -> Self

The display name of the owner of the S3 bucket.

source

pub fn get_owner_name(&self) -> &Option<String>

The display name of the owner of the S3 bucket.

source

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.

source

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.

source

pub fn get_owner_account_id(&self) -> &Option<String>

The Amazon Web Services account identifier of the account that owns the S3 bucket.

source

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.

source

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.

source

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.

source

pub fn server_side_encryption_configuration( self, input: AwsS3BucketServerSideEncryptionConfiguration ) -> Self

The encryption rules that are applied to the S3 bucket.

source

pub fn set_server_side_encryption_configuration( self, input: Option<AwsS3BucketServerSideEncryptionConfiguration> ) -> Self

The encryption rules that are applied to the S3 bucket.

source

pub fn get_server_side_encryption_configuration( &self ) -> &Option<AwsS3BucketServerSideEncryptionConfiguration>

The encryption rules that are applied to the S3 bucket.

source

pub fn bucket_lifecycle_configuration( self, input: AwsS3BucketBucketLifecycleConfigurationDetails ) -> Self

The lifecycle configuration for objects in the specified bucket.

source

pub fn set_bucket_lifecycle_configuration( self, input: Option<AwsS3BucketBucketLifecycleConfigurationDetails> ) -> Self

The lifecycle configuration for objects in the specified bucket.

source

pub fn get_bucket_lifecycle_configuration( &self ) -> &Option<AwsS3BucketBucketLifecycleConfigurationDetails>

The lifecycle configuration for objects in the specified bucket.

source

pub fn public_access_block_configuration( self, input: AwsS3AccountPublicAccessBlockDetails ) -> Self

Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.

source

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.

source

pub fn get_public_access_block_configuration( &self ) -> &Option<AwsS3AccountPublicAccessBlockDetails>

Provides information about the Amazon S3 Public Access Block configuration for the S3 bucket.

source

pub fn access_control_list(self, input: impl Into<String>) -> Self

The access control list for the S3 bucket.

source

pub fn set_access_control_list(self, input: Option<String>) -> Self

The access control list for the S3 bucket.

source

pub fn get_access_control_list(&self) -> &Option<String>

The access control list for the S3 bucket.

source

pub fn bucket_logging_configuration( self, input: AwsS3BucketLoggingConfiguration ) -> Self

The logging configuration for the S3 bucket.

source

pub fn set_bucket_logging_configuration( self, input: Option<AwsS3BucketLoggingConfiguration> ) -> Self

The logging configuration for the S3 bucket.

source

pub fn get_bucket_logging_configuration( &self ) -> &Option<AwsS3BucketLoggingConfiguration>

The logging configuration for the S3 bucket.

source

pub fn bucket_website_configuration( self, input: AwsS3BucketWebsiteConfiguration ) -> Self

The website configuration parameters for the S3 bucket.

source

pub fn set_bucket_website_configuration( self, input: Option<AwsS3BucketWebsiteConfiguration> ) -> Self

The website configuration parameters for the S3 bucket.

source

pub fn get_bucket_website_configuration( &self ) -> &Option<AwsS3BucketWebsiteConfiguration>

The website configuration parameters for the S3 bucket.

source

pub fn bucket_notification_configuration( self, input: AwsS3BucketNotificationConfiguration ) -> Self

The notification configuration for the S3 bucket.

source

pub fn set_bucket_notification_configuration( self, input: Option<AwsS3BucketNotificationConfiguration> ) -> Self

The notification configuration for the S3 bucket.

source

pub fn get_bucket_notification_configuration( &self ) -> &Option<AwsS3BucketNotificationConfiguration>

The notification configuration for the S3 bucket.

source

pub fn bucket_versioning_configuration( self, input: AwsS3BucketBucketVersioningConfiguration ) -> Self

The versioning state of an S3 bucket.

source

pub fn set_bucket_versioning_configuration( self, input: Option<AwsS3BucketBucketVersioningConfiguration> ) -> Self

The versioning state of an S3 bucket.

source

pub fn get_bucket_versioning_configuration( &self ) -> &Option<AwsS3BucketBucketVersioningConfiguration>

The versioning state of an S3 bucket.

source

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.

source

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.

source

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.

source

pub fn name(self, input: impl Into<String>) -> Self

The name of the bucket.

source

pub fn set_name(self, input: Option<String>) -> Self

The name of the bucket.

source

pub fn get_name(&self) -> &Option<String>

The name of the bucket.

source

pub fn build(self) -> AwsS3BucketDetails

Consumes the builder and constructs a AwsS3BucketDetails.

Trait Implementations§

source§

impl Clone for AwsS3BucketDetailsBuilder

source§

fn clone(&self) -> AwsS3BucketDetailsBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AwsS3BucketDetailsBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for AwsS3BucketDetailsBuilder

source§

fn default() -> AwsS3BucketDetailsBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for AwsS3BucketDetailsBuilder

source§

fn eq(&self, other: &AwsS3BucketDetailsBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for AwsS3BucketDetailsBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more