@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListStreamsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListStreamsRequest() |
Modifier and Type | Method and Description |
---|---|
ListStreamsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of streams to return in the response. The default is 10,000.
maxResults
- The maximum number of streams to return in the response. The default is 10,000.public Integer getMaxResults()
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.
maxResults
- The maximum number of streams to return in the response. The default is 10,000.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.
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 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.
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.
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 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 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.
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.
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 Object
Object.toString()
public ListStreamsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()