@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLocationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
ListLocationsRequest
NOOP
Constructor and Description |
---|
ListLocationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListLocationsRequest |
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 locations to return.
|
String |
getNextToken()
An opaque string that indicates the position at which to begin the next list of locations.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of locations to return.
|
void |
setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
|
String |
toString()
Returns a string representation of this object.
|
ListLocationsRequest |
withMaxResults(Integer maxResults)
The maximum number of locations to return.
|
ListLocationsRequest |
withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
|
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)
The maximum number of locations to return.
maxResults
- The maximum number of locations to return.public Integer getMaxResults()
The maximum number of locations to return.
public ListLocationsRequest withMaxResults(Integer maxResults)
The maximum number of locations to return.
maxResults
- The maximum number of locations to return.public void setNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
nextToken
- An opaque string that indicates the position at which to begin the next list of locations.public String getNextToken()
An opaque string that indicates the position at which to begin the next list of locations.
public ListLocationsRequest withNextToken(String nextToken)
An opaque string that indicates the position at which to begin the next list of locations.
nextToken
- An opaque string that indicates the position at which to begin the next list of locations.public String toString()
toString
in class Object
Object.toString()
public ListLocationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.