Struct aws_sdk_securityhub::model::aws_s3_bucket_details::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsS3BucketDetails
.
Implementations
sourceimpl Builder
impl Builder
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 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 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 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. 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. 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 bucket_lifecycle_configuration(
self,
input: AwsS3BucketBucketLifecycleConfigurationDetails
) -> Self
pub fn bucket_lifecycle_configuration(
self,
input: AwsS3BucketBucketLifecycleConfigurationDetails
) -> Self
The lifecycle configuration for objects in the S3 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 S3 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 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 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 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 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 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 build(self) -> AwsS3BucketDetails
pub fn build(self) -> AwsS3BucketDetails
Consumes the builder and constructs a AwsS3BucketDetails
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more