@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServersRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetServersRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetServersRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return in a single call.
|
String |
getNextToken()
The token for the next set of results.
|
List<VmServerAddress> |
getVmServerAddressList()
The server addresses.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
The server addresses.
|
String |
toString()
Returns a string representation of this object.
|
GetServersRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
GetServersRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
GetServersRequest |
withVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
The server addresses.
|
GetServersRequest |
withVmServerAddressList(VmServerAddress... vmServerAddressList)
The server addresses.
|
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 setNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public String getNextToken()
The token for the next set of results.
public GetServersRequest withNextToken(String nextToken)
The token for the next set of results.
nextToken - The token for the next set of results.public void setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining
results, make another call with the returned NextToken value.
maxResults - The maximum number of results to return in a single call. The default value is 50. To retrieve the
remaining results, make another call with the returned NextToken value.public Integer getMaxResults()
The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining
results, make another call with the returned NextToken value.
NextToken value.public GetServersRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. The default value is 50. To retrieve the remaining
results, make another call with the returned NextToken value.
maxResults - The maximum number of results to return in a single call. The default value is 50. To retrieve the
remaining results, make another call with the returned NextToken value.public List<VmServerAddress> getVmServerAddressList()
The server addresses.
public void setVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
The server addresses.
vmServerAddressList - The server addresses.public GetServersRequest withVmServerAddressList(VmServerAddress... vmServerAddressList)
The server addresses.
NOTE: This method appends the values to the existing list (if any). Use
setVmServerAddressList(java.util.Collection) or withVmServerAddressList(java.util.Collection)
if you want to override the existing values.
vmServerAddressList - The server addresses.public GetServersRequest withVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
The server addresses.
vmServerAddressList - The server addresses.public String toString()
toString in class ObjectObject.toString()public GetServersRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()