@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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)
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 Object
Object.toString()
public AddTagsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()