@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateACLRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateACLRequest() |
Modifier and Type | Method and Description |
---|---|
CreateACLRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getACLName()
The name of the Access Control List.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
List<String> |
getUserNames()
The list of users that belong to the Access Control List.
|
int |
hashCode() |
void |
setACLName(String aCLName)
The name of the Access Control List.
|
void |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
void |
setUserNames(Collection<String> userNames)
The list of users that belong to the Access Control List.
|
String |
toString()
Returns a string representation of this object.
|
CreateACLRequest |
withACLName(String aCLName)
The name of the Access Control List.
|
CreateACLRequest |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateACLRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
CreateACLRequest |
withUserNames(Collection<String> userNames)
The list of users that belong to the Access Control List.
|
CreateACLRequest |
withUserNames(String... userNames)
The list of users that belong to the Access Control List.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setACLName(String aCLName)
The name of the Access Control List.
aCLName
- The name of the Access Control List.public String getACLName()
The name of the Access Control List.
public CreateACLRequest withACLName(String aCLName)
The name of the Access Control List.
aCLName
- The name of the Access Control List.public List<String> getUserNames()
The list of users that belong to the Access Control List.
public void setUserNames(Collection<String> userNames)
The list of users that belong to the Access Control List.
userNames
- The list of users that belong to the Access Control List.public CreateACLRequest withUserNames(String... userNames)
The list of users that belong to the Access Control List.
NOTE: This method appends the values to the existing list (if any). Use
setUserNames(java.util.Collection)
or withUserNames(java.util.Collection)
if you want to
override the existing values.
userNames
- The list of users that belong to the Access Control List.public CreateACLRequest withUserNames(Collection<String> userNames)
The list of users that belong to the Access Control List.
userNames
- The list of users that belong to the Access Control List.public List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateACLRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateACLRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public String toString()
toString
in class Object
Object.toString()
public CreateACLRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()