public class AddTagsToStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for AddTagsToStream.
NOOP| Constructor and Description |
|---|
AddTagsToStreamRequest() |
| Modifier and Type | Method and Description |
|---|---|
AddTagsToStreamRequest |
addTagsEntry(String key,
String value) |
AddTagsToStreamRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
AddTagsToStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getStreamName()
The name of the stream.
|
Map<String,String> |
getTags()
The set of key-value pairs to use to create the tags.
|
int |
hashCode() |
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsToStreamRequest |
withStreamName(String streamName)
The name of the stream.
|
AddTagsToStreamRequest |
withTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public String getStreamName()
The name of the stream.
public AddTagsToStreamRequest withStreamName(String streamName)
The name of the stream.
streamName - The name of the stream.public Map<String,String> getTags()
The set of key-value pairs to use to create the tags.
public void setTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
tags - The set of key-value pairs to use to create the tags.public AddTagsToStreamRequest withTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
tags - The set of key-value pairs to use to create the tags.public AddTagsToStreamRequest addTagsEntry(String key, String value)
public AddTagsToStreamRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public AddTagsToStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.