@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Contains the parameters for AddTags.
NOOP| Constructor and Description |
|---|
AddTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPipelineId()
The ID of the pipeline.
|
List<Tag> |
getTags()
The tags to add, as key/value pairs.
|
int |
hashCode() |
void |
setPipelineId(String pipelineId)
The ID of the pipeline.
|
void |
setTags(Collection<Tag> tags)
The tags to add, as key/value pairs.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AddTagsRequest |
withPipelineId(String pipelineId)
The ID of the pipeline.
|
AddTagsRequest |
withTags(Collection<Tag> tags)
The tags to add, as key/value pairs.
|
AddTagsRequest |
withTags(Tag... tags)
The tags to add, as key/value pairs.
|
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 setPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId - The ID of the pipeline.public String getPipelineId()
The ID of the pipeline.
public AddTagsRequest withPipelineId(String pipelineId)
The ID of the pipeline.
pipelineId - The ID of the pipeline.public List<Tag> getTags()
The tags to add, as key/value pairs.
public void setTags(Collection<Tag> tags)
The tags to add, as key/value pairs.
tags - The tags to add, as key/value pairs.public AddTagsRequest withTags(Tag... tags)
The tags to add, as key/value pairs.
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 tags to add, as key/value pairs.public AddTagsRequest withTags(Collection<Tag> tags)
The tags to add, as key/value pairs.
tags - The tags to add, as key/value pairs.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.