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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsEntry
(String key, String value) Removes all the entries added into Tags.clone()
Creates a shallow clone of this request.boolean
The name of the stream.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
The set of key-value pairs to use to create the tags.toString()
Returns a string representation of this object; useful for testing and debugging.withStreamName
(String streamName) The name of the stream.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
-
Constructor Details
-
AddTagsToStreamRequest
public AddTagsToStreamRequest()
-
-
Method Details
-
setStreamName
The name of the stream.
- Parameters:
streamName
- The name of the stream.
-
getStreamName
The name of the stream.
- Returns:
- The name of the stream.
-
withStreamName
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
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
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
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
-
clearTagsEntries
Removes all the entries added into Tags. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-