Struct aws_sdk_macie2::model::account_level_permissions::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AccountLevelPermissions
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn block_public_access(self, input: BlockPublicAccess) -> Self
pub fn block_public_access(self, input: BlockPublicAccess) -> Self
The block public access settings for the Amazon Web Services account that owns the bucket.
sourcepub fn set_block_public_access(self, input: Option<BlockPublicAccess>) -> Self
pub fn set_block_public_access(self, input: Option<BlockPublicAccess>) -> Self
The block public access settings for the Amazon Web Services account that owns the bucket.
sourcepub fn build(self) -> AccountLevelPermissions
pub fn build(self) -> AccountLevelPermissions
Consumes the builder and constructs a AccountLevelPermissions
.