pub struct Builder { /* private fields */ }
Expand description
A builder for S3PublicAccessBlockConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn ignore_public_acls(self, input: bool) -> Self
pub fn ignore_public_acls(self, input: bool) -> Self
Specifies whether Amazon S3 should ignore public ACLs for this bucket and objects in this 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 should ignore public ACLs for this bucket and objects in this bucket.
sourcepub fn restrict_public_buckets(self, input: bool) -> Self
pub fn restrict_public_buckets(self, input: bool) -> Self
Specifies whether Amazon S3 should restrict public bucket policies for this 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 should restrict public bucket policies for this bucket.
sourcepub fn build(self) -> S3PublicAccessBlockConfiguration
pub fn build(self) -> S3PublicAccessBlockConfiguration
Consumes the builder and constructs a S3PublicAccessBlockConfiguration
.