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