@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeServersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribeServersRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribeServersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
String |
getNextToken()
NextToken is a string that is returned in some command responses.
|
String |
getServerName()
Describes the server with the specified ServerName.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
void |
setNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
void |
setServerName(String serverName)
Describes the server with the specified ServerName.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeServersRequest |
withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
DescribeServersRequest |
withNextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
DescribeServersRequest |
withServerName(String serverName)
Describes the server with the specified ServerName.
|
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, withSdkRequestTimeoutpublic void setServerName(String serverName)
Describes the server with the specified ServerName.
serverName - Describes the server with the specified ServerName.public String getServerName()
Describes the server with the specified ServerName.
public DescribeServersRequest withServerName(String serverName)
Describes the server with the specified ServerName.
serverName - Describes the server with the specified ServerName.public void setNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
nextToken - NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public String getNextToken()
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public DescribeServersRequest withNextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results, call
DescribeServers again, and assign the token from the previous results as the value of the
nextToken parameter. If there are no more results, the response object's nextToken
parameter value is null. Setting a nextToken value that was not returned in your
previous results causes an InvalidNextTokenException to occur.
nextToken - NextToken is a string that is returned in some command responses. It indicates that not all entries have
been returned, and that you must run at least one more request to get remaining items. To get remaining
results, call DescribeServers again, and assign the token from the previous results as the
value of the nextToken parameter. If there are no more results, the response object's
nextToken parameter value is null. Setting a nextToken value that
was not returned in your previous results causes an InvalidNextTokenException to occur.public void setMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken value that you can assign to the NextToken request parameter to get the next
set of results.
maxResults - To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken value that you can assign to the NextToken request
parameter to get the next set of results.public Integer getMaxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken value that you can assign to the NextToken request parameter to get the next
set of results.
NextToken value that you can assign to the NextToken request
parameter to get the next set of results.public DescribeServersRequest withMaxResults(Integer maxResults)
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken value that you can assign to the NextToken request parameter to get the next
set of results.
maxResults - To receive a paginated response, use this parameter to specify the maximum number of results to be
returned with a single call. If the number of available results exceeds this maximum, the response
includes a NextToken value that you can assign to the NextToken request
parameter to get the next set of results.public String toString()
toString in class ObjectObject.toString()public DescribeServersRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.