@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Container for the parameters to the AddTags
operation. Specify the tags that you want to attach
to the Elasticsearch domain.
NOOP
Constructor and Description |
---|
AddTagsRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getARN()
Specify the
ARN for which you want to add the tags. |
List<Tag> |
getTagList()
List of
Tag that need to be added for the Elasticsearch domain. |
int |
hashCode() |
void |
setARN(String aRN)
Specify the
ARN for which you want to add the tags. |
void |
setTagList(Collection<Tag> tagList)
List of
Tag that need to be added for the Elasticsearch domain. |
String |
toString()
Returns a string representation of this object.
|
AddTagsRequest |
withARN(String aRN)
Specify the
ARN for which you want to add the tags. |
AddTagsRequest |
withTagList(Collection<Tag> tagList)
List of
Tag that need to be added for the Elasticsearch domain. |
AddTagsRequest |
withTagList(Tag... tagList)
List of
Tag that need to be added for the Elasticsearch domain. |
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 setARN(String aRN)
Specify the ARN
for which you want to add the tags.
aRN
- Specify the ARN
for which you want to add the tags.public String getARN()
Specify the ARN
for which you want to add the tags.
ARN
for which you want to add the tags.public AddTagsRequest withARN(String aRN)
Specify the ARN
for which you want to add the tags.
aRN
- Specify the ARN
for which you want to add the tags.public List<Tag> getTagList()
List of Tag
that need to be added for the Elasticsearch domain.
Tag
that need to be added for the Elasticsearch domain.public void setTagList(Collection<Tag> tagList)
List of Tag
that need to be added for the Elasticsearch domain.
tagList
- List of Tag
that need to be added for the Elasticsearch domain.public AddTagsRequest withTagList(Tag... tagList)
List of Tag
that need to be added for the Elasticsearch domain.
NOTE: This method appends the values to the existing list (if any). Use
setTagList(java.util.Collection)
or withTagList(java.util.Collection)
if you want to override
the existing values.
tagList
- List of Tag
that need to be added for the Elasticsearch domain.public AddTagsRequest withTagList(Collection<Tag> tagList)
List of Tag
that need to be added for the Elasticsearch domain.
tagList
- List of Tag
that need to be added for the Elasticsearch domain.public String toString()
toString
in class Object
Object.toString()
public AddTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()