Interface BucketPublicAccess.Builder

    • 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.