Interface BucketPublicAccess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BucketPublicAccess.Builder,
,BucketPublicAccess> SdkBuilder<BucketPublicAccess.Builder,
,BucketPublicAccess> SdkPojo
- Enclosing class:
BucketPublicAccess
-
Method Summary
Modifier and TypeMethodDescriptioneffectivePermission
(String effectivePermission) Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket.effectivePermission
(EffectivePermission effectivePermission) Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket.default BucketPublicAccess.Builder
permissionConfiguration
(Consumer<BucketPermissionConfiguration.Builder> permissionConfiguration) The account-level and bucket-level permissions settings for the bucket.permissionConfiguration
(BucketPermissionConfiguration permissionConfiguration) The account-level and bucket-level permissions settings for the bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
effectivePermission
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.
- Parameters:
effectivePermission
-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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
effectivePermission
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.
- Parameters:
effectivePermission
-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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
permissionConfiguration
BucketPublicAccess.Builder permissionConfiguration(BucketPermissionConfiguration permissionConfiguration) The account-level and bucket-level permissions settings for the bucket.
- Parameters:
permissionConfiguration
- The account-level and bucket-level permissions settings for the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissionConfiguration
default BucketPublicAccess.Builder permissionConfiguration(Consumer<BucketPermissionConfiguration.Builder> permissionConfiguration) The account-level and bucket-level permissions settings for the bucket.
This is a convenience method that creates an instance of theBucketPermissionConfiguration.Builder
avoiding the need to create one manually viaBucketPermissionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissionConfiguration(BucketPermissionConfiguration)
.- Parameters:
permissionConfiguration
- a consumer that will call methods onBucketPermissionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-