Interface BucketPublicAccess.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BucketPublicAccess.Builder,BucketPublicAccess>,SdkBuilder<BucketPublicAccess.Builder,BucketPublicAccess>,SdkPojo
- Enclosing class:
- BucketPublicAccess
public static interface BucketPublicAccess.Builder extends SdkPojo, CopyableBuilder<BucketPublicAccess.Builder,BucketPublicAccess>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description BucketPublicAccess.BuildereffectivePermission(String effectivePermission)Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket.BucketPublicAccess.BuildereffectivePermission(EffectivePermission effectivePermission)Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket.default BucketPublicAccess.BuilderpermissionConfiguration(Consumer<BucketPermissionConfiguration.Builder> permissionConfiguration)The account-level and bucket-level permissions settings for the bucket.BucketPublicAccess.BuilderpermissionConfiguration(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
effectivePermission
BucketPublicAccess.Builder effectivePermission(String 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,EffectivePermission
-
-
effectivePermission
BucketPublicAccess.Builder effectivePermission(EffectivePermission 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,EffectivePermission
-
-
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.Builderavoiding the need to create one manually viaBucketPermissionConfiguration.builder().When the
Consumercompletes,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:
permissionConfiguration(BucketPermissionConfiguration)
-
-