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
AddTagsoperation. 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 AddTagsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetARN()Specify theARNfor which you want to add the tags.List<Tag>getTagList()List ofTagthat need to be added for the Elasticsearch domain.inthashCode()voidsetARN(String aRN)Specify theARNfor which you want to add the tags.voidsetTagList(Collection<Tag> tagList)List ofTagthat need to be added for the Elasticsearch domain.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddTagsRequestwithARN(String aRN)Specify theARNfor which you want to add the tags.AddTagsRequestwithTagList(Tag... tagList)List ofTagthat need to be added for the Elasticsearch domain.AddTagsRequestwithTagList(Collection<Tag> tagList)List ofTagthat 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
ARNfor which you want to add the tags.- Parameters:
aRN- Specify theARNfor which you want to add the tags.
-
getARN
public String getARN()
Specify the
ARNfor which you want to add the tags.- Returns:
- Specify the
ARNfor which you want to add the tags.
-
withARN
public AddTagsRequest withARN(String aRN)
Specify the
ARNfor which you want to add the tags.- Parameters:
aRN- Specify theARNfor 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
Tagthat need to be added for the Elasticsearch domain.- Returns:
- List of
Tagthat need to be added for the Elasticsearch domain.
-
setTagList
public void setTagList(Collection<Tag> tagList)
List of
Tagthat need to be added for the Elasticsearch domain.- Parameters:
tagList- List ofTagthat need to be added for the Elasticsearch domain.
-
withTagList
public AddTagsRequest withTagList(Tag... tagList)
List of
Tagthat 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 ofTagthat 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
Tagthat need to be added for the Elasticsearch domain.- Parameters:
tagList- List ofTagthat 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddTagsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-