@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()
List of
VmServerAddress objects |
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)
List of
VmServerAddress objects |
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)
List of
VmServerAddress objects |
GetServersRequest |
withVmServerAddressList(VmServerAddress... vmServerAddressList)
List of
VmServerAddress objects |
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 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()
List of VmServerAddress
objects
VmServerAddress
objectspublic void setVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
List of VmServerAddress
objects
vmServerAddressList
- List of VmServerAddress
objectspublic GetServersRequest withVmServerAddressList(VmServerAddress... vmServerAddressList)
List of VmServerAddress
objects
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
- List of VmServerAddress
objectspublic GetServersRequest withVmServerAddressList(Collection<VmServerAddress> vmServerAddressList)
List of VmServerAddress
objects
vmServerAddressList
- List of VmServerAddress
objectspublic String toString()
toString
in class Object
Object.toString()
public GetServersRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.