public class ListStreamsRequest extends AmazonWebServiceRequest implements Serializable
Returns an array of StreamInfo objects. Each object describes a
stream. To retrieve only streams that satisfy a specific condition, you can
specify a StreamNameCondition.
| Constructor and Description |
|---|
ListStreamsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of streams to return in the response.
|
String |
getNextToken()
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. |
StreamNameCondition |
getStreamNameCondition()
Optional: Returns only streams that satisfy a specific condition.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of streams to return in the response.
|
void |
setNextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. |
void |
setStreamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsRequest |
withMaxResults(Integer maxResults)
The maximum number of streams to return in the response.
|
ListStreamsRequest |
withNextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. |
ListStreamsRequest |
withStreamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic Integer getMaxResults()
The maximum number of streams to return in the response. The default is 10,000.
Constraints:
Range: 1 - 10000
The maximum number of streams to return in the response. The default is 10,000.
public void setMaxResults(Integer maxResults)
The maximum number of streams to return in the response. The default is 10,000.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of streams to return in the response. The default is 10,000.
public ListStreamsRequest withMaxResults(Integer maxResults)
The maximum number of streams to return in the response. The default is 10,000.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of streams to return in the response. The default is 10,000.
public String getNextToken()
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. To get another batch of streams,
provide this token in your next request.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns
the NextToken in the response. To get another batch
of streams, provide this token in your next request.
public void setNextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. To get another batch of streams,
provide this token in your next request.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken -
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call
returns the NextToken in the response. To get
another batch of streams, provide this token in your next
request.
public ListStreamsRequest withNextToken(String nextToken)
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call returns the
NextToken in the response. To get another batch of streams,
provide this token in your next request.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken -
If you specify this parameter, when the result of a
ListStreams operation is truncated, the call
returns the NextToken in the response. To get
another batch of streams, provide this token in your next
request.
public StreamNameCondition getStreamNameCondition()
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
public void setStreamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
streamNameCondition - Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
public ListStreamsRequest withStreamNameCondition(StreamNameCondition streamNameCondition)
Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
Returns a reference to this object so that method calls can be chained together.
streamNameCondition - Optional: Returns only streams that satisfy a specific condition. Currently, you can specify only the prefix of a stream name as a condition.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.