public class ListStreamsRequest extends AmazonWebServiceRequest implements java.io.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(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of streams to return in the response.
|
java.lang.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(java.lang.Integer maxResults)
The maximum number of streams to return in the response.
|
void |
setNextToken(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of streams to return in the response.
|
ListStreamsRequest |
withNextToken(java.lang.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, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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.