@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessControlList extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the permissions settings of the bucket-level access control list (ACL) for an S3 bucket.
Constructor and Description |
---|
AccessControlList() |
Modifier and Type | Method and Description |
---|---|
AccessControlList |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowsPublicReadAccess()
Specifies whether the ACL grants the general public with read access permissions for the bucket.
|
Boolean |
getAllowsPublicWriteAccess()
Specifies whether the ACL grants the general public with write access permissions for the bucket.
|
int |
hashCode() |
Boolean |
isAllowsPublicReadAccess()
Specifies whether the ACL grants the general public with read access permissions for the bucket.
|
Boolean |
isAllowsPublicWriteAccess()
Specifies whether the ACL grants the general public with write access permissions for the bucket.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
Specifies whether the ACL grants the general public with read access permissions for the bucket.
|
void |
setAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
Specifies whether the ACL grants the general public with write access permissions for the bucket.
|
String |
toString()
Returns a string representation of this object.
|
AccessControlList |
withAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
Specifies whether the ACL grants the general public with read access permissions for the bucket.
|
AccessControlList |
withAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
Specifies whether the ACL grants the general public with write access permissions for the bucket.
|
public void setAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
Specifies whether the ACL grants the general public with read access permissions for the bucket.
allowsPublicReadAccess
- Specifies whether the ACL grants the general public with read access permissions for the bucket.public Boolean getAllowsPublicReadAccess()
Specifies whether the ACL grants the general public with read access permissions for the bucket.
public AccessControlList withAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
Specifies whether the ACL grants the general public with read access permissions for the bucket.
allowsPublicReadAccess
- Specifies whether the ACL grants the general public with read access permissions for the bucket.public Boolean isAllowsPublicReadAccess()
Specifies whether the ACL grants the general public with read access permissions for the bucket.
public void setAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
Specifies whether the ACL grants the general public with write access permissions for the bucket.
allowsPublicWriteAccess
- Specifies whether the ACL grants the general public with write access permissions for the bucket.public Boolean getAllowsPublicWriteAccess()
Specifies whether the ACL grants the general public with write access permissions for the bucket.
public AccessControlList withAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
Specifies whether the ACL grants the general public with write access permissions for the bucket.
allowsPublicWriteAccess
- Specifies whether the ACL grants the general public with write access permissions for the bucket.public Boolean isAllowsPublicWriteAccess()
Specifies whether the ACL grants the general public with write access permissions for the bucket.
public String toString()
toString
in class Object
Object.toString()
public AccessControlList clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.