@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) |
List<LocationFilter> |
getFilters()
You can use API filters to narrow down the list of resources returned by
ListLocations . |
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 |
setFilters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListLocations . |
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 |
withFilters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by
ListLocations . |
ListLocationsRequest |
withFilters(LocationFilter... filters)
You can use API filters to narrow down the list of resources returned by
ListLocations . |
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 List<LocationFilter> getFilters()
You can use API filters to narrow down the list of resources returned by ListLocations
. For example,
to retrieve all tasks on a specific source location, you can use ListLocations
with filter name
LocationType S3
and Operator Equals
.
ListLocations
. For
example, to retrieve all tasks on a specific source location, you can use ListLocations
with
filter name LocationType S3
and Operator Equals
.public void setFilters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by ListLocations
. For example,
to retrieve all tasks on a specific source location, you can use ListLocations
with filter name
LocationType S3
and Operator Equals
.
filters
- You can use API filters to narrow down the list of resources returned by ListLocations
. For
example, to retrieve all tasks on a specific source location, you can use ListLocations
with
filter name LocationType S3
and Operator Equals
.public ListLocationsRequest withFilters(LocationFilter... filters)
You can use API filters to narrow down the list of resources returned by ListLocations
. For example,
to retrieve all tasks on a specific source location, you can use ListLocations
with filter name
LocationType S3
and Operator Equals
.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- You can use API filters to narrow down the list of resources returned by ListLocations
. For
example, to retrieve all tasks on a specific source location, you can use ListLocations
with
filter name LocationType S3
and Operator Equals
.public ListLocationsRequest withFilters(Collection<LocationFilter> filters)
You can use API filters to narrow down the list of resources returned by ListLocations
. For example,
to retrieve all tasks on a specific source location, you can use ListLocations
with filter name
LocationType S3
and Operator Equals
.
filters
- You can use API filters to narrow down the list of resources returned by ListLocations
. For
example, to retrieve all tasks on a specific source location, you can use ListLocations
with
filter name LocationType S3
and Operator Equals
.public String toString()
toString
in class Object
Object.toString()
public ListLocationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()