@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3AccessControlList extends Object implements Serializable, Cloneable
Constructor and Description |
---|
S3AccessControlList() |
Modifier and Type | Method and Description |
---|---|
S3AccessControlList |
clone() |
boolean |
equals(Object obj) |
List<S3Grant> |
getGrants()
|
S3ObjectOwner |
getOwner()
|
int |
hashCode() |
void |
setGrants(Collection<S3Grant> grants)
|
void |
setOwner(S3ObjectOwner owner)
|
String |
toString()
Returns a string representation of this object.
|
S3AccessControlList |
withGrants(Collection<S3Grant> grants)
|
S3AccessControlList |
withGrants(S3Grant... grants)
|
S3AccessControlList |
withOwner(S3ObjectOwner owner)
|
public void setOwner(S3ObjectOwner owner)
owner
- public S3ObjectOwner getOwner()
public S3AccessControlList withOwner(S3ObjectOwner owner)
owner
- public void setGrants(Collection<S3Grant> grants)
grants
- public S3AccessControlList withGrants(S3Grant... grants)
NOTE: This method appends the values to the existing list (if any). Use
setGrants(java.util.Collection)
or withGrants(java.util.Collection)
if you want to override the
existing values.
grants
- public S3AccessControlList withGrants(Collection<S3Grant> grants)
grants
- public String toString()
toString
in class Object
Object.toString()
public S3AccessControlList clone()