Struct aws_sdk_macie2::model::block_public_access::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BlockPublicAccess
.
Implementations
sourceimpl Builder
impl Builder
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
.