@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
AddTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getResourceArn()
The Amazon Resource Name (ARN) of the resource that you want to tag.
|
List<Tag> |
getTags()
An array of
Tag objects. |
int |
hashCode() |
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to tag.
|
void |
setTags(Collection<Tag> tags)
An array of
Tag objects. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddTagsRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to tag.
|
AddTagsRequest |
withTags(Collection<Tag> tags)
An array of
Tag objects. |
AddTagsRequest |
withTags(Tag... tags)
An array of
Tag objects. |
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 setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to tag.
resourceArn - The Amazon Resource Name (ARN) of the resource that you want to tag.public String getResourceArn()
The Amazon Resource Name (ARN) of the resource that you want to tag.
public AddTagsRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to tag.
resourceArn - The Amazon Resource Name (ARN) of the resource that you want to tag.public List<Tag> getTags()
An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.
Tag objects. Each tag is a key-value pair. Only the key parameter
is required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.public void setTags(Collection<Tag> tags)
An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.
tags - An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.public AddTagsRequest withTags(Tag... tags)
An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the
existing values.
tags - An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.public AddTagsRequest withTags(Collection<Tag> tags)
An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.
tags - An array of Tag objects. Each tag is a key-value pair. Only the key parameter is
required. If you don't specify a value, Amazon SageMaker sets the value to an empty string.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.