Class AddTagsToStreamRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesis.model.AddTagsToStreamRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class AddTagsToStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for
AddTagsToStream.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddTagsToStreamRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddTagsToStreamRequestaddTagsEntry(String key, String value)AddTagsToStreamRequestclearTagsEntries()Removes all the entries added into Tags.AddTagsToStreamRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetStreamName()The name of the stream.Map<String,String>getTags()The set of key-value pairs to use to create the tags.inthashCode()voidsetStreamName(String streamName)The name of the stream.voidsetTags(Map<String,String> tags)The set of key-value pairs to use to create the tags.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddTagsToStreamRequestwithStreamName(String streamName)The name of the stream.AddTagsToStreamRequestwithTags(Map<String,String> tags)The set of key-value pairs to use to create the tags.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
-
-
-
Method Detail
-
setStreamName
public void setStreamName(String streamName)
The name of the stream.
- Parameters:
streamName- The name of the stream.
-
getStreamName
public String getStreamName()
The name of the stream.
- Returns:
- The name of the stream.
-
withStreamName
public AddTagsToStreamRequest withStreamName(String streamName)
The name of the stream.
- Parameters:
streamName- The name of the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
public Map<String,String> getTags()
The set of key-value pairs to use to create the tags.
- Returns:
- The set of key-value pairs to use to create the tags.
-
setTags
public void setTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
- Parameters:
tags- The set of key-value pairs to use to create the tags.
-
withTags
public AddTagsToStreamRequest withTags(Map<String,String> tags)
The set of key-value pairs to use to create the tags.
- Parameters:
tags- The set of key-value pairs to use to create the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addTagsEntry
public AddTagsToStreamRequest addTagsEntry(String key, String value)
-
clearTagsEntries
public AddTagsToStreamRequest clearTagsEntries()
Removes all the entries added into Tags. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddTagsToStreamRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-