Class ListTagsForStreamRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.kinesis.model.ListTagsForStreamRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class ListTagsForStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Represents the input for
ListTagsForStream
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListTagsForStreamRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTagsForStreamRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getExclusiveStartTagKey()
The key to use as the starting point for the list of tags.Integer
getLimit()
The number of tags to return.String
getStreamName()
The name of the stream.int
hashCode()
void
setExclusiveStartTagKey(String exclusiveStartTagKey)
The key to use as the starting point for the list of tags.void
setLimit(Integer limit)
The number of tags to return.void
setStreamName(String streamName)
The name of the stream.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListTagsForStreamRequest
withExclusiveStartTagKey(String exclusiveStartTagKey)
The key to use as the starting point for the list of tags.ListTagsForStreamRequest
withLimit(Integer limit)
The number of tags to return.ListTagsForStreamRequest
withStreamName(String streamName)
The name of the stream.-
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 ListTagsForStreamRequest 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.
-
setExclusiveStartTagKey
public void setExclusiveStartTagKey(String exclusiveStartTagKey)
The key to use as the starting point for the list of tags. If this parameter is set,
ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.- Parameters:
exclusiveStartTagKey
- The key to use as the starting point for the list of tags. If this parameter is set,ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.
-
getExclusiveStartTagKey
public String getExclusiveStartTagKey()
The key to use as the starting point for the list of tags. If this parameter is set,
ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.- Returns:
- The key to use as the starting point for the list of tags. If
this parameter is set,
ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.
-
withExclusiveStartTagKey
public ListTagsForStreamRequest withExclusiveStartTagKey(String exclusiveStartTagKey)
The key to use as the starting point for the list of tags. If this parameter is set,
ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.- Parameters:
exclusiveStartTagKey
- The key to use as the starting point for the list of tags. If this parameter is set,ListTagsForStream
gets all tags that occur afterExclusiveStartTagKey
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLimit
public void setLimit(Integer limit)
The number of tags to return. If this number is less than the total number of tags associated with the stream,
HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.- Parameters:
limit
- The number of tags to return. If this number is less than the total number of tags associated with the stream,HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.
-
getLimit
public Integer getLimit()
The number of tags to return. If this number is less than the total number of tags associated with the stream,
HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.- Returns:
- The number of tags to return. If this number is less than the
total number of tags associated with the stream,
HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.
-
withLimit
public ListTagsForStreamRequest withLimit(Integer limit)
The number of tags to return. If this number is less than the total number of tags associated with the stream,
HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.- Parameters:
limit
- The number of tags to return. If this number is less than the total number of tags associated with the stream,HasMoreTags
is set totrue
. To list additional tags, setExclusiveStartTagKey
to the last key in the response.- Returns:
- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListTagsForStreamRequest 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:
Object.clone()
-
-