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 request.
|
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, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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()
Copyright © 2018. All rights reserved.