public class ListStreamsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists all of the streams in your AWS account.
Constructor and Description |
---|
ListStreamsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAscendingOrder()
Set to true to return the list of streams in ascending order.
|
java.lang.Integer |
getMaxResults()
The maximum number of results to return at a time.
|
java.lang.String |
getNextToken()
A token used to get the next set of results.
|
int |
hashCode() |
java.lang.Boolean |
isAscendingOrder()
Set to true to return the list of streams in ascending order.
|
void |
setAscendingOrder(java.lang.Boolean ascendingOrder)
Set to true to return the list of streams in ascending order.
|
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at a time.
|
void |
setNextToken(java.lang.String nextToken)
A token used to get the next set of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListStreamsRequest |
withAscendingOrder(java.lang.Boolean ascendingOrder)
Set to true to return the list of streams in ascending order.
|
ListStreamsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at a time.
|
ListStreamsRequest |
withNextToken(java.lang.String nextToken)
A token used to get the next set of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.Integer getMaxResults()
The maximum number of results to return at a time.
Constraints:
Range: 1 - 250
The maximum number of results to return at a time.
public void setMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at a time.
Constraints:
Range: 1 - 250
maxResults
- The maximum number of results to return at a time.
public ListStreamsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of results to return at a time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults
- The maximum number of results to return at a time.
public java.lang.String getNextToken()
A token used to get the next set of results.
A token used to get the next set of results.
public void setNextToken(java.lang.String nextToken)
A token used to get the next set of results.
nextToken
- A token used to get the next set of results.
public ListStreamsRequest withNextToken(java.lang.String nextToken)
A token used to get the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- A token used to get the next set of results.
public java.lang.Boolean isAscendingOrder()
Set to true to return the list of streams in ascending order.
Set to true to return the list of streams in ascending order.
public java.lang.Boolean getAscendingOrder()
Set to true to return the list of streams in ascending order.
Set to true to return the list of streams in ascending order.
public void setAscendingOrder(java.lang.Boolean ascendingOrder)
Set to true to return the list of streams in ascending order.
ascendingOrder
- Set to true to return the list of streams in ascending order.
public ListStreamsRequest withAscendingOrder(java.lang.Boolean ascendingOrder)
Set to true to return the list of streams in ascending order.
Returns a reference to this object so that method calls can be chained together.
ascendingOrder
- Set to true to return the list of streams in ascending order.
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.