@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. Specifies the tags to attach to the domain.
NOOP| Constructor and Description |
|---|
AddTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getARN()
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
|
List<Tag> |
getTagList()
List of resource tags.
|
int |
hashCode() |
void |
setARN(String aRN)
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
|
void |
setTagList(Collection<Tag> tagList)
List of resource tags.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsRequest |
withARN(String aRN)
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
|
AddTagsRequest |
withTagList(Collection<Tag> tagList)
List of resource tags.
|
AddTagsRequest |
withTagList(Tag... tagList)
List of resource tags.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setARN(String aRN)
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
aRN - Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.public String getARN()
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
public AddTagsRequest withARN(String aRN)
Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.
aRN - Amazon Resource Name (ARN) for the OpenSearch Service domain to which you want to attach resource tags.public void setTagList(Collection<Tag> tagList)
List of resource tags.
tagList - List of resource tags.public AddTagsRequest withTagList(Tag... tagList)
List of resource tags.
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 resource tags.public AddTagsRequest withTagList(Collection<Tag> tagList)
List of resource tags.
tagList - List of resource tags.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.