@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicAccess extends Object implements Serializable, Cloneable, StructuredPojo
Describes the public access policies that apply to the S3 bucket.
| Constructor and Description |
|---|
PublicAccess() |
| Modifier and Type | Method and Description |
|---|---|
PublicAccess |
clone() |
boolean |
equals(Object obj) |
String |
getEffectivePermission()
Describes the effective permission on this bucket after factoring all attached policies.
|
PermissionConfiguration |
getPermissionConfiguration()
Contains information about how permissions are configured for the S3 bucket.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEffectivePermission(String effectivePermission)
Describes the effective permission on this bucket after factoring all attached policies.
|
void |
setPermissionConfiguration(PermissionConfiguration permissionConfiguration)
Contains information about how permissions are configured for the S3 bucket.
|
String |
toString()
Returns a string representation of this object.
|
PublicAccess |
withEffectivePermission(String effectivePermission)
Describes the effective permission on this bucket after factoring all attached policies.
|
PublicAccess |
withPermissionConfiguration(PermissionConfiguration permissionConfiguration)
Contains information about how permissions are configured for the S3 bucket.
|
public void setPermissionConfiguration(PermissionConfiguration permissionConfiguration)
Contains information about how permissions are configured for the S3 bucket.
permissionConfiguration - Contains information about how permissions are configured for the S3 bucket.public PermissionConfiguration getPermissionConfiguration()
Contains information about how permissions are configured for the S3 bucket.
public PublicAccess withPermissionConfiguration(PermissionConfiguration permissionConfiguration)
Contains information about how permissions are configured for the S3 bucket.
permissionConfiguration - Contains information about how permissions are configured for the S3 bucket.public void setEffectivePermission(String effectivePermission)
Describes the effective permission on this bucket after factoring all attached policies.
effectivePermission - Describes the effective permission on this bucket after factoring all attached policies.public String getEffectivePermission()
Describes the effective permission on this bucket after factoring all attached policies.
public PublicAccess withEffectivePermission(String effectivePermission)
Describes the effective permission on this bucket after factoring all attached policies.
effectivePermission - Describes the effective permission on this bucket after factoring all attached policies.public String toString()
toString in class ObjectObject.toString()public PublicAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.