pub struct Builder { /* private fields */ }
Expand description
A builder for AwsS3AccountPublicAccessBlockDetails
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> AwsS3AccountPublicAccessBlockDetails
pub fn build(self) -> AwsS3AccountPublicAccessBlockDetails
Consumes the builder and constructs a AwsS3AccountPublicAccessBlockDetails
.