Struct aws_sdk_macie2::types::builders::BlockPublicAccessBuilder
source · #[non_exhaustive]pub struct BlockPublicAccessBuilder { /* private fields */ }
Expand description
A builder for BlockPublicAccess
.
Implementations§
source§impl BlockPublicAccessBuilder
impl BlockPublicAccessBuilder
sourcepub fn block_public_acls(self, input: bool) -> Self
pub fn block_public_acls(self, input: bool) -> Self
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
sourcepub fn set_block_public_acls(self, input: Option<bool>) -> Self
pub fn set_block_public_acls(self, input: Option<bool>) -> Self
Specifies whether Amazon S3 blocks public access control lists (ACLs) for the bucket and objects in the bucket.
sourcepub fn block_public_policy(self, input: bool) -> Self
pub fn block_public_policy(self, input: bool) -> Self
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
sourcepub fn set_block_public_policy(self, input: Option<bool>) -> Self
pub fn set_block_public_policy(self, input: Option<bool>) -> Self
Specifies whether Amazon S3 blocks public bucket policies for the bucket.
sourcepub fn ignore_public_acls(self, input: bool) -> Self
pub fn ignore_public_acls(self, input: bool) -> Self
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
sourcepub fn set_ignore_public_acls(self, input: Option<bool>) -> Self
pub fn set_ignore_public_acls(self, input: Option<bool>) -> Self
Specifies whether Amazon S3 ignores public ACLs for the bucket and objects in the bucket.
sourcepub fn restrict_public_buckets(self, input: bool) -> Self
pub fn restrict_public_buckets(self, input: bool) -> Self
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
sourcepub fn set_restrict_public_buckets(self, input: Option<bool>) -> Self
pub fn set_restrict_public_buckets(self, input: Option<bool>) -> Self
Specifies whether Amazon S3 restricts public bucket policies for the bucket.
sourcepub fn build(self) -> BlockPublicAccess
pub fn build(self) -> BlockPublicAccess
Consumes the builder and constructs a BlockPublicAccess
.
Trait Implementations§
source§impl Clone for BlockPublicAccessBuilder
impl Clone for BlockPublicAccessBuilder
source§fn clone(&self) -> BlockPublicAccessBuilder
fn clone(&self) -> BlockPublicAccessBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlockPublicAccessBuilder
impl Debug for BlockPublicAccessBuilder
source§impl Default for BlockPublicAccessBuilder
impl Default for BlockPublicAccessBuilder
source§fn default() -> BlockPublicAccessBuilder
fn default() -> BlockPublicAccessBuilder
source§impl PartialEq<BlockPublicAccessBuilder> for BlockPublicAccessBuilder
impl PartialEq<BlockPublicAccessBuilder> for BlockPublicAccessBuilder
source§fn eq(&self, other: &BlockPublicAccessBuilder) -> bool
fn eq(&self, other: &BlockPublicAccessBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.