public class AddTagsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AddTags operation.
Add or modify tags in an existing pipeline.
NOOP| Constructor and Description |
|---|
AddTagsRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPipelineId()
The identifier of the pipeline to which you want to add the tags.
|
List<Tag> |
getTags()
The tags as key/value pairs to add to the pipeline.
|
int |
hashCode() |
void |
setPipelineId(String pipelineId)
The identifier of the pipeline to which you want to add the tags.
|
void |
setTags(Collection<Tag> tags)
The tags as key/value pairs to add to the pipeline.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsRequest |
withPipelineId(String pipelineId)
The identifier of the pipeline to which you want to add the tags.
|
AddTagsRequest |
withTags(Collection<Tag> tags)
The tags as key/value pairs to add to the pipeline.
|
AddTagsRequest |
withTags(Tag... tags)
The tags as key/value pairs to add to the pipeline.
|
copyBaseTo, copyPrivateRequestParameters, 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 identifier of the pipeline to which you want to add the tags.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 identifier of the pipeline to which you want to add the tags.public List<Tag> getTags()
Constraints:
Length: 0 - 10
public void setTags(Collection<Tag> tags)
Constraints:
Length: 0 - 10
tags - The tags as key/value pairs to add to the pipeline.public AddTagsRequest withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 10
tags - The tags as key/value pairs to add to the pipeline.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 as key/value pairs to add to the pipeline.public String toString()
toString in class ObjectObject.toString()public AddTagsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2015. All rights reserved.