public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AddTags operation.
Adds or modifies tags for the specified pipeline.
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.
|
copyBaseTo, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPipelineId()
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setPipelineId(String pipelineId)
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId - The ID of the pipeline.public AddTagsRequest withPipelineId(String pipelineId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
pipelineId - The ID of the pipeline.public List<Tag> getTags()
Constraints:
Length: 0 - 10
public void setTags(Collection<Tag> tags)
Constraints:
Length: 0 - 10
tags - The tags to add, as key/value pairs.public AddTagsRequest withTags(Tag... tags)
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
tags - The tags to add, as key/value pairs.public AddTagsRequest withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
tags - The tags to add, as key/value pairs.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2015. All rights reserved.