public class ListTagsForStreamRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.String |
getExclusiveStartTagKey()
The key to use as the starting point for the list of tags.
|
java.lang.Integer |
getLimit()
The number of tags to return.
|
java.lang.String |
getStreamName()
The name of the stream.
|
int |
hashCode() |
void |
setExclusiveStartTagKey(java.lang.String exclusiveStartTagKey)
The key to use as the starting point for the list of tags.
|
void |
setLimit(java.lang.Integer limit)
The number of tags to return.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamRequest |
withExclusiveStartTagKey(java.lang.String exclusiveStartTagKey)
The key to use as the starting point for the list of tags.
|
ListTagsForStreamRequest |
withLimit(java.lang.Integer limit)
The number of tags to return.
|
ListTagsForStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.