public class ListTagsForStreamRequest extends AmazonWebServiceRequest implements Serializable
Lists the tags for the specified Kinesis data stream. This operation has a limit of five transactions per second per account.
| Constructor and Description |
|---|
ListTagsForStreamRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(String streamName)
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.
public ListTagsForStreamRequest withStreamName(String streamName)
The name of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
streamName - The name of the stream.
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
after ExclusiveStartTagKey.
Constraints:
Length: 1 - 128
The key to use as the starting point for the list of tags. If
this parameter is set, ListTagsForStream gets all
tags that occur after ExclusiveStartTagKey.
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
after ExclusiveStartTagKey.
Constraints:
Length: 1 - 128
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 after ExclusiveStartTagKey.
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
after ExclusiveStartTagKey.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
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 after ExclusiveStartTagKey.
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 to true. To list additional tags, set
ExclusiveStartTagKey to the last key in the response.
Constraints:
Range: 1 - 10
The number of tags to return. If this number is less than the
total number of tags associated with the stream,
HasMoreTags is set to true. To list
additional tags, set ExclusiveStartTagKey to the
last key in the response.
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 to true. To list additional tags, set
ExclusiveStartTagKey to the last key in the response.
Constraints:
Range: 1 - 10
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 to true. To list
additional tags, set ExclusiveStartTagKey to the
last key in the response.
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 to true. To list additional tags, set
ExclusiveStartTagKey to the last key in the response.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10
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 to true. To list
additional tags, set ExclusiveStartTagKey to the
last key in the response.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.