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 Details

    • 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

      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:
    • 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 the BucketPermissionConfiguration.Builder avoiding the need to create one manually via BucketPermissionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to permissionConfiguration(BucketPermissionConfiguration).

      Parameters:
      permissionConfiguration - a consumer that will call methods on BucketPermissionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: