public class AddTagsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Container for the parameters to the AddTags
operation.
Specify the tags that you want to attach to the Elasticsearch domain.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
aRN
Specify the
ARN for which you want to add the tags. |
private java.util.List<Tag> |
tagList
List of
Tag that need to be added for the Elasticsearch
domain. |
NOOP
Constructor and Description |
---|
AddTagsRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getARN()
Specify the
ARN for which you want to add the tags. |
java.util.List<Tag> |
getTagList()
List of
Tag that need to be added for the Elasticsearch
domain. |
int |
hashCode() |
void |
setARN(java.lang.String aRN)
Specify the
ARN for which you want to add the tags. |
void |
setTagList(java.util.Collection<Tag> tagList)
List of
Tag that need to be added for the Elasticsearch
domain. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsRequest |
withARN(java.lang.String aRN)
Specify the
ARN for which you want to add the tags. |
AddTagsRequest |
withTagList(java.util.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. |
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String aRN
Specify the ARN
for which you want to add the tags.
private java.util.List<Tag> tagList
List of Tag
that need to be added for the Elasticsearch
domain.
public void setARN(java.lang.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 java.lang.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(java.lang.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 java.util.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(java.util.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(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()