@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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)
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.
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 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 Object
Object.toString()
public ListServersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()