public class ListInstancesRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Return a list of instances which are in active state, creation-in-progress state, and failed state. Instances that aren't successfully created (they are in a failed state) are returned only for 24 hours after the CreateInstance API was invoked.
Constructor and Description |
---|
ListInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximimum number of results to return per page.
|
java.lang.String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListInstancesRequest |
withMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
|
ListInstancesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of results.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListInstancesRequest withNextToken(java.lang.String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public java.lang.Integer getMaxResults()
The maximimum number of results to return per page.
Constraints:
Range: 1 - 10
The maximimum number of results to return per page.
public void setMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
Constraints:
Range: 1 - 10
maxResults
- The maximimum number of results to return per page.
public ListInstancesRequest withMaxResults(java.lang.Integer maxResults)
The maximimum number of results to return per page.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10
maxResults
- The maximimum number of results to return per page.
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.