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