@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListServersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListServersRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListServersRequest |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxResults()
Specifies the number of servers to return as a response to the
ListServers query. |
String |
getNextToken()
When additional results are obtained from the ListServers command, a
NextToken parameter is returned
in the output. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
Specifies the number of servers to return as a response to the
ListServers query. |
void |
setNextToken(String nextToken)
When additional results are obtained from the ListServers command, a
NextToken parameter is returned
in the output. |
String |
toString()
Returns a string representation of this object.
|
ListServersRequest |
withMaxResults(Integer maxResults)
Specifies the number of servers to return as a response to the
ListServers query. |
ListServersRequest |
withNextToken(String nextToken)
When additional results are obtained from the ListServers command, a
NextToken parameter is returned
in the output. |
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setMaxResults(Integer maxResults)
Specifies the number of servers to return as a response to the ListServers query.
maxResults - Specifies the number of servers to return as a response to the ListServers query.public Integer getMaxResults()
Specifies the number of servers to return as a response to the ListServers query.
ListServers query.public ListServersRequest withMaxResults(Integer maxResults)
Specifies the number of servers to return as a response to the ListServers query.
maxResults - Specifies the number of servers to return as a response to the ListServers query.public void setNextToken(String nextToken)
When additional results are obtained from the ListServers command, a NextToken parameter is returned
in the output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional servers.
nextToken - When additional results are obtained from the ListServers command, a NextToken parameter is
returned in the output. You can then pass the NextToken parameter in a subsequent command to
continue listing additional servers.public String getNextToken()
When additional results are obtained from the ListServers command, a NextToken parameter is returned
in the output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional servers.
NextToken parameter is
returned in the output. You can then pass the NextToken parameter in a subsequent command to
continue listing additional servers.public ListServersRequest withNextToken(String nextToken)
When additional results are obtained from the ListServers command, a NextToken parameter is returned
in the output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional servers.
nextToken - When additional results are obtained from the ListServers command, a NextToken parameter is
returned in the output. You can then pass the NextToken parameter in a subsequent command to
continue listing additional servers.public String toString()
toString in class ObjectObject.toString()public ListServersRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.