Class AddTagsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticsearch.model.AddTagsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
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.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddTagsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddTagsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getARN()
Specify theARN
for which you want to add the tags.List<Tag>
getTagList()
List ofTag
that need to be added for the Elasticsearch domain.int
hashCode()
void
setARN(String aRN)
Specify theARN
for which you want to add the tags.void
setTagList(Collection<Tag> tagList)
List ofTag
that need to be added for the Elasticsearch domain.String
toString()
Returns a string representation of this object; useful for testing and debugging.AddTagsRequest
withARN(String aRN)
Specify theARN
for which you want to add the tags.AddTagsRequest
withTagList(Tag... tagList)
List ofTag
that need to be added for the Elasticsearch domain.AddTagsRequest
withTagList(Collection<Tag> tagList)
List ofTag
that need to be added for the Elasticsearch domain.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setARN
public void setARN(String aRN)
Specify the
ARN
for which you want to add the tags.- Parameters:
aRN
- Specify theARN
for which you want to add the tags.
-
getARN
public String getARN()
Specify the
ARN
for which you want to add the tags.- Returns:
- Specify the
ARN
for which you want to add the tags.
-
withARN
public AddTagsRequest withARN(String aRN)
Specify the
ARN
for which you want to add the tags.- Parameters:
aRN
- Specify theARN
for which you want to add the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTagList
public List<Tag> getTagList()
List of
Tag
that need to be added for the Elasticsearch domain.- Returns:
- List of
Tag
that need to be added for the Elasticsearch domain.
-
setTagList
public void setTagList(Collection<Tag> tagList)
List of
Tag
that need to be added for the Elasticsearch domain.- Parameters:
tagList
- List ofTag
that need to be added for the Elasticsearch domain.
-
withTagList
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)
orwithTagList(java.util.Collection)
if you want to override the existing values.- Parameters:
tagList
- List ofTag
that need to be added for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTagList
public AddTagsRequest withTagList(Collection<Tag> tagList)
List of
Tag
that need to be added for the Elasticsearch domain.- Parameters:
tagList
- List ofTag
that need to be added for the Elasticsearch domain.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddTagsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-