@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
TagResourceRequest() |
| Modifier and Type | Method and Description |
|---|---|
TagResourceRequest |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the pipeline to tag.
|
List<Tag> |
getTags()
The list of key-value tags to add to the pipeline.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the pipeline to tag.
|
void |
setTags(Collection<Tag> tags)
The list of key-value tags to add to the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
TagResourceRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the pipeline to tag.
|
TagResourceRequest |
withTags(Collection<Tag> tags)
The list of key-value tags to add to the pipeline.
|
TagResourceRequest |
withTags(Tag... tags)
The list of key-value tags to add to the pipeline.
|
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)
The Amazon Resource Name (ARN) of the pipeline to tag.
arn - The Amazon Resource Name (ARN) of the pipeline to tag.public String getArn()
The Amazon Resource Name (ARN) of the pipeline to tag.
public TagResourceRequest withArn(String arn)
The Amazon Resource Name (ARN) of the pipeline to tag.
arn - The Amazon Resource Name (ARN) of the pipeline to tag.public List<Tag> getTags()
The list of key-value tags to add to the pipeline.
public void setTags(Collection<Tag> tags)
The list of key-value tags to add to the pipeline.
tags - The list of key-value tags to add to the pipeline.public TagResourceRequest withTags(Tag... tags)
The list of key-value tags to add to the pipeline.
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 - The list of key-value tags to add to the pipeline.public TagResourceRequest withTags(Collection<Tag> tags)
The list of key-value tags to add to the pipeline.
tags - The list of key-value tags to add to the pipeline.public String toString()
toString in class ObjectObject.toString()public TagResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.