#[non_exhaustive]pub struct AwsS3AccountPublicAccessBlockDetailsBuilder { /* private fields */ }Expand description
A builder for AwsS3AccountPublicAccessBlockDetails.
Implementations§
source§impl AwsS3AccountPublicAccessBlockDetailsBuilder
impl AwsS3AccountPublicAccessBlockDetailsBuilder
sourcepub fn block_public_acls(self, input: bool) -> Self
pub fn block_public_acls(self, input: bool) -> Self
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
sourcepub fn set_block_public_acls(self, input: Option<bool>) -> Self
pub fn set_block_public_acls(self, input: Option<bool>) -> Self
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
sourcepub fn get_block_public_acls(&self) -> &Option<bool>
pub fn get_block_public_acls(&self) -> &Option<bool>
Indicates whether to reject calls to update an S3 bucket if the calls include a public access control list (ACL).
sourcepub fn block_public_policy(self, input: bool) -> Self
pub fn block_public_policy(self, input: bool) -> Self
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
sourcepub fn set_block_public_policy(self, input: Option<bool>) -> Self
pub fn set_block_public_policy(self, input: Option<bool>) -> Self
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
sourcepub fn get_block_public_policy(&self) -> &Option<bool>
pub fn get_block_public_policy(&self) -> &Option<bool>
Indicates whether to reject calls to update the access policy for an S3 bucket or access point if the policy allows public access.
sourcepub fn ignore_public_acls(self, input: bool) -> Self
pub fn ignore_public_acls(self, input: bool) -> Self
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
sourcepub fn set_ignore_public_acls(self, input: Option<bool>) -> Self
pub fn set_ignore_public_acls(self, input: Option<bool>) -> Self
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
sourcepub fn get_ignore_public_acls(&self) -> &Option<bool>
pub fn get_ignore_public_acls(&self) -> &Option<bool>
Indicates whether Amazon S3 ignores public ACLs that are associated with an S3 bucket.
sourcepub fn restrict_public_buckets(self, input: bool) -> Self
pub fn restrict_public_buckets(self, input: bool) -> Self
Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.
sourcepub fn set_restrict_public_buckets(self, input: Option<bool>) -> Self
pub fn set_restrict_public_buckets(self, input: Option<bool>) -> Self
Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.
sourcepub fn get_restrict_public_buckets(&self) -> &Option<bool>
pub fn get_restrict_public_buckets(&self) -> &Option<bool>
Indicates whether to restrict access to an access point or S3 bucket that has a public policy to only Amazon Web Services service principals and authorized users within the S3 bucket owner's account.
sourcepub fn build(self) -> AwsS3AccountPublicAccessBlockDetails
pub fn build(self) -> AwsS3AccountPublicAccessBlockDetails
Consumes the builder and constructs a AwsS3AccountPublicAccessBlockDetails.
Trait Implementations§
source§impl Clone for AwsS3AccountPublicAccessBlockDetailsBuilder
impl Clone for AwsS3AccountPublicAccessBlockDetailsBuilder
source§fn clone(&self) -> AwsS3AccountPublicAccessBlockDetailsBuilder
fn clone(&self) -> AwsS3AccountPublicAccessBlockDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsS3AccountPublicAccessBlockDetailsBuilder
impl Default for AwsS3AccountPublicAccessBlockDetailsBuilder
source§fn default() -> AwsS3AccountPublicAccessBlockDetailsBuilder
fn default() -> AwsS3AccountPublicAccessBlockDetailsBuilder
source§impl PartialEq for AwsS3AccountPublicAccessBlockDetailsBuilder
impl PartialEq for AwsS3AccountPublicAccessBlockDetailsBuilder
source§fn eq(&self, other: &AwsS3AccountPublicAccessBlockDetailsBuilder) -> bool
fn eq(&self, other: &AwsS3AccountPublicAccessBlockDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.