@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessControlList extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the current access control policies for the bucket.
Constructor and Description |
---|
AccessControlList() |
Modifier and Type | Method and Description |
---|---|
AccessControlList |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowsPublicReadAccess()
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
|
Boolean |
getAllowsPublicWriteAccess()
A value that indicates whether public write access for the bucket is enabled through an Access Control List
(ACL).
|
int |
hashCode() |
Boolean |
isAllowsPublicReadAccess()
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
|
Boolean |
isAllowsPublicWriteAccess()
A value that indicates whether public write access for the bucket is enabled through an Access Control List
(ACL).
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
|
void |
setAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
A value that indicates whether public write access for the bucket is enabled through an Access Control List
(ACL).
|
String |
toString()
Returns a string representation of this object.
|
AccessControlList |
withAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
|
AccessControlList |
withAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
A value that indicates whether public write access for the bucket is enabled through an Access Control List
(ACL).
|
public void setAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
allowsPublicReadAccess
- A value that indicates whether public read access for the bucket is enabled through an Access Control List
(ACL).public Boolean getAllowsPublicReadAccess()
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
public AccessControlList withAllowsPublicReadAccess(Boolean allowsPublicReadAccess)
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
allowsPublicReadAccess
- A value that indicates whether public read access for the bucket is enabled through an Access Control List
(ACL).public Boolean isAllowsPublicReadAccess()
A value that indicates whether public read access for the bucket is enabled through an Access Control List (ACL).
public void setAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
A value that indicates whether public write access for the bucket is enabled through an Access Control List (ACL).
allowsPublicWriteAccess
- A value that indicates whether public write access for the bucket is enabled through an Access Control
List (ACL).public Boolean getAllowsPublicWriteAccess()
A value that indicates whether public write access for the bucket is enabled through an Access Control List (ACL).
public AccessControlList withAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
A value that indicates whether public write access for the bucket is enabled through an Access Control List (ACL).
allowsPublicWriteAccess
- A value that indicates whether public write access for the bucket is enabled through an Access Control
List (ACL).public Boolean isAllowsPublicWriteAccess()
A value that indicates whether public write access for the bucket is enabled through an Access Control List (ACL).
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.