Struct aws_sdk_macie2::model::bucket_public_access::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for BucketPublicAccess
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn effective_permission(self, input: EffectivePermission) -> Self
pub fn effective_permission(self, input: EffectivePermission) -> Self
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
sourcepub fn set_effective_permission(self, input: Option<EffectivePermission>) -> Self
pub fn set_effective_permission(self, input: Option<EffectivePermission>) -> Self
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
sourcepub fn permission_configuration(
self,
input: BucketPermissionConfiguration
) -> Self
pub fn permission_configuration(
self,
input: BucketPermissionConfiguration
) -> Self
The account-level and bucket-level permissions settings for the bucket.
sourcepub fn set_permission_configuration(
self,
input: Option<BucketPermissionConfiguration>
) -> Self
pub fn set_permission_configuration(
self,
input: Option<BucketPermissionConfiguration>
) -> Self
The account-level and bucket-level permissions settings for the bucket.
sourcepub fn build(self) -> BucketPublicAccess
pub fn build(self) -> BucketPublicAccess
Consumes the builder and constructs a BucketPublicAccess
.