public class AddTagsToStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Represents the input for AddTagsToStream
.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
streamName
The name of the stream.
|
private SdkInternalMap<java.lang.String,java.lang.String> |
tags
The set of key-value pairs to use to create the tags.
|
NOOP
Constructor and Description |
---|
AddTagsToStreamRequest() |
Modifier and Type | Method and Description |
---|---|
AddTagsToStreamRequest |
addTagsEntry(java.lang.String key,
java.lang.String value) |
AddTagsToStreamRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
AddTagsToStreamRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStreamName()
The name of the stream.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The set of key-value pairs to use to create the tags.
|
int |
hashCode() |
void |
setStreamName(java.lang.String streamName)
The name of the stream.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The set of key-value pairs to use to create the tags.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddTagsToStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream.
|
AddTagsToStreamRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The set of key-value pairs to use to create the tags.
|
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
private java.lang.String streamName
The name of the stream.
private SdkInternalMap<java.lang.String,java.lang.String> tags
The set of key-value pairs to use to create the tags.
public void setStreamName(java.lang.String streamName)
The name of the stream.
streamName
- The name of the stream.public java.lang.String getStreamName()
The name of the stream.
public AddTagsToStreamRequest withStreamName(java.lang.String streamName)
The name of the stream.
streamName
- The name of the stream.public java.util.Map<java.lang.String,java.lang.String> getTags()
The set of key-value pairs to use to create the tags.
public void setTags(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String key, java.lang.String value)
public AddTagsToStreamRequest clearTagsEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddTagsToStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()