public class AddTagsToResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddTagsToResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
Identifier (ID) for the directory to which to add the tag.
|
List<Tag> |
getTags()
The tags to be assigned to the Amazon Directory Services directory.
|
int |
hashCode() |
void |
setResourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
|
void |
setTags(Collection<Tag> tags)
The tags to be assigned to the Amazon Directory Services directory.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddTagsToResourceRequest |
withResourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
|
AddTagsToResourceRequest |
withTags(Collection<Tag> tags)
The tags to be assigned to the Amazon Directory Services directory.
|
AddTagsToResourceRequest |
withTags(Tag... tags)
The tags to be assigned to the Amazon Directory Services directory.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setResourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
resourceId - Identifier (ID) for the directory to which to add the tag.public String getResourceId()
Identifier (ID) for the directory to which to add the tag.
public AddTagsToResourceRequest withResourceId(String resourceId)
Identifier (ID) for the directory to which to add the tag.
resourceId - Identifier (ID) for the directory to which to add the tag.public List<Tag> getTags()
The tags to be assigned to the Amazon Directory Services directory.
public void setTags(Collection<Tag> tags)
The tags to be assigned to the Amazon Directory Services directory.
tags - The tags to be assigned to the Amazon Directory Services directory.public AddTagsToResourceRequest withTags(Tag... tags)
The tags to be assigned to the Amazon Directory Services directory.
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 - The tags to be assigned to the Amazon Directory Services directory.public AddTagsToResourceRequest withTags(Collection<Tag> tags)
The tags to be assigned to the Amazon Directory Services directory.
tags - The tags to be assigned to the Amazon Directory Services directory.public String toString()
toString in class ObjectObject.toString()public AddTagsToResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2016. All rights reserved.