@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHostsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ListHostsRequest() |
| Modifier and Type | Method and Description |
|---|---|
ListHostsRequest |
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 that was returned from the previous
ListHosts call, which can be used to return the next
set of hosts in the list. |
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
void |
setNextToken(String nextToken)
The token that was returned from the previous
ListHosts call, which can be used to return the next
set of hosts in the list. |
String |
toString()
Returns a string representation of this object.
|
ListHostsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in a single call.
|
ListHostsRequest |
withNextToken(String nextToken)
The token that was returned from the previous
ListHosts call, which can be used to return the next
set of hosts in the list. |
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 setMaxResults(Integer maxResults)
The maximum number of results to return in a single call. 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. 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. To retrieve the remaining results, make another call
with the returned nextToken value.
nextToken value.public ListHostsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in a single call. 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. To retrieve the remaining results, make another
call with the returned nextToken value.public void setNextToken(String nextToken)
The token that was returned from the previous ListHosts call, which can be used to return the next
set of hosts in the list.
nextToken - The token that was returned from the previous ListHosts call, which can be used to return the
next set of hosts in the list.public String getNextToken()
The token that was returned from the previous ListHosts call, which can be used to return the next
set of hosts in the list.
ListHosts call, which can be used to return
the next set of hosts in the list.public ListHostsRequest withNextToken(String nextToken)
The token that was returned from the previous ListHosts call, which can be used to return the next
set of hosts in the list.
nextToken - The token that was returned from the previous ListHosts call, which can be used to return the
next set of hosts in the list.public String toString()
toString in class ObjectObject.toString()public ListHostsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()