@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
TagStreamRequest() |
Modifier and Type | Method and Description |
---|---|
TagStreamRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
TagStreamRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
TagStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getStreamARN()
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
|
String |
getStreamName()
The name of the stream that you want to add the tag or tags to.
|
Map<String,String> |
getTags()
A list of tags to associate with the specified stream.
|
int |
hashCode() |
void |
setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
|
void |
setStreamName(String streamName)
The name of the stream that you want to add the tag or tags to.
|
void |
setTags(Map<String,String> tags)
A list of tags to associate with the specified stream.
|
String |
toString()
Returns a string representation of this object.
|
TagStreamRequest |
withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
|
TagStreamRequest |
withStreamName(String streamName)
The name of the stream that you want to add the tag or tags to.
|
TagStreamRequest |
withTags(Map<String,String> tags)
A list of tags to associate with the specified stream.
|
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 setStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
streamARN
- The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.public String getStreamARN()
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
public TagStreamRequest withStreamARN(String streamARN)
The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.
streamARN
- The Amazon Resource Name (ARN) of the resource that you want to add the tag or tags to.public void setStreamName(String streamName)
The name of the stream that you want to add the tag or tags to.
streamName
- The name of the stream that you want to add the tag or tags to.public String getStreamName()
The name of the stream that you want to add the tag or tags to.
public TagStreamRequest withStreamName(String streamName)
The name of the stream that you want to add the tag or tags to.
streamName
- The name of the stream that you want to add the tag or tags to.public Map<String,String> getTags()
A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).
public void setTags(Map<String,String> tags)
A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).
tags
- A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is
optional).public TagStreamRequest withTags(Map<String,String> tags)
A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is optional).
tags
- A list of tags to associate with the specified stream. Each tag is a key-value pair (the value is
optional).public TagStreamRequest addTagsEntry(String key, String value)
public TagStreamRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public TagStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()