@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketPublicAccess extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
Constructor and Description |
---|
BucketPublicAccess() |
Modifier and Type | Method and Description |
---|---|
BucketPublicAccess |
clone() |
boolean |
equals(Object obj) |
String |
getEffectivePermission()
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
BucketPermissionConfiguration |
getPermissionConfiguration()
The account-level and bucket-level permissions settings for the bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEffectivePermission(String effectivePermission)
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
void |
setPermissionConfiguration(BucketPermissionConfiguration permissionConfiguration)
The account-level and bucket-level permissions settings for the bucket.
|
String |
toString()
Returns a string representation of this object.
|
BucketPublicAccess |
withEffectivePermission(EffectivePermission effectivePermission)
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
BucketPublicAccess |
withEffectivePermission(String effectivePermission)
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
BucketPublicAccess |
withPermissionConfiguration(BucketPermissionConfiguration permissionConfiguration)
The account-level and bucket-level permissions settings for the bucket.
|
public void setEffectivePermission(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.
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.
EffectivePermission
public String getEffectivePermission()
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.
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.
EffectivePermission
public BucketPublicAccess withEffectivePermission(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.
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.
EffectivePermission
public BucketPublicAccess withEffectivePermission(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.
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.
EffectivePermission
public void setPermissionConfiguration(BucketPermissionConfiguration permissionConfiguration)
The account-level and bucket-level permissions settings for the bucket.
permissionConfiguration
- The account-level and bucket-level permissions settings for the bucket.public BucketPermissionConfiguration getPermissionConfiguration()
The account-level and bucket-level permissions settings for the bucket.
public BucketPublicAccess withPermissionConfiguration(BucketPermissionConfiguration permissionConfiguration)
The account-level and bucket-level permissions settings for the bucket.
permissionConfiguration
- The account-level and bucket-level permissions settings for the bucket.public String toString()
toString
in class Object
Object.toString()
public BucketPublicAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.