@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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)
Add a single Tags entry
|
AddTagsToStreamRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
AddTagsToStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getStreamARN()
The ARN of the stream.
|
String |
getStreamName()
The name of the stream.
|
Map<String,String> |
getTags()
A set of up to 10 key-value pairs to use to create the tags.
|
int |
hashCode() |
void |
setStreamARN(String streamARN)
The ARN of the stream.
|
void |
setStreamName(String streamName)
The name of the stream.
|
void |
setTags(Map<String,String> tags)
A set of up to 10 key-value pairs to use to create the tags.
|
String |
toString()
Returns a string representation of this object.
|
AddTagsToStreamRequest |
withStreamARN(String streamARN)
The ARN of the stream.
|
AddTagsToStreamRequest |
withStreamName(String streamName)
The name of the stream.
|
AddTagsToStreamRequest |
withTags(Map<String,String> tags)
A set of up to 10 key-value pairs to use to create the tags.
|
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 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()
A set of up to 10 key-value pairs to use to create the tags.
public void setTags(Map<String,String> tags)
A set of up to 10 key-value pairs to use to create the tags.
tags
- A set of up to 10 key-value pairs to use to create the tags.public AddTagsToStreamRequest withTags(Map<String,String> tags)
A set of up to 10 key-value pairs to use to create the tags.
tags
- A set of up to 10 key-value pairs to use to create the tags.public AddTagsToStreamRequest addTagsEntry(String key, String value)
public AddTagsToStreamRequest clearTagsEntries()
public void setStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String getStreamARN()
The ARN of the stream.
public AddTagsToStreamRequest withStreamARN(String streamARN)
The ARN of the stream.
streamARN
- The ARN of the stream.public String toString()
toString
in class Object
Object.toString()
public AddTagsToStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()