@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPresetsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPresetsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPresetsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCategory()
Optionally, specify a preset category to limit responses to only presets from that category.
|
String |
getListBy()
Optional.
|
Integer |
getMaxResults()
Optional.
|
String |
getNextToken()
Use this string, provided with the response to a previous request, to request the next batch of presets.
|
String |
getOrder()
When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order.
|
int |
hashCode() |
void |
setCategory(String category)
Optionally, specify a preset category to limit responses to only presets from that category.
|
void |
setListBy(String listBy)
Optional.
|
void |
setMaxResults(Integer maxResults)
Optional.
|
void |
setNextToken(String nextToken)
Use this string, provided with the response to a previous request, to request the next batch of presets.
|
void |
setOrder(String order)
When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order.
|
String |
toString()
Returns a string representation of this object.
|
ListPresetsRequest |
withCategory(String category)
Optionally, specify a preset category to limit responses to only presets from that category.
|
ListPresetsRequest |
withListBy(PresetListBy listBy)
Optional.
|
ListPresetsRequest |
withListBy(String listBy)
Optional.
|
ListPresetsRequest |
withMaxResults(Integer maxResults)
Optional.
|
ListPresetsRequest |
withNextToken(String nextToken)
Use this string, provided with the response to a previous request, to request the next batch of presets.
|
ListPresetsRequest |
withOrder(Order order)
When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order.
|
ListPresetsRequest |
withOrder(String order)
When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order.
|
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 setCategory(String category)
category
- Optionally, specify a preset category to limit responses to only presets from that category.public String getCategory()
public ListPresetsRequest withCategory(String category)
category
- Optionally, specify a preset category to limit responses to only presets from that category.public void setListBy(String listBy)
listBy
- Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or
chronologically by CREATION_DATE. If you don't specify, the service will list them by name.PresetListBy
public String getListBy()
PresetListBy
public ListPresetsRequest withListBy(String listBy)
listBy
- Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or
chronologically by CREATION_DATE. If you don't specify, the service will list them by name.PresetListBy
public ListPresetsRequest withListBy(PresetListBy listBy)
listBy
- Optional. When you request a list of presets, you can choose to list them alphabetically by NAME or
chronologically by CREATION_DATE. If you don't specify, the service will list them by name.PresetListBy
public void setMaxResults(Integer maxResults)
maxResults
- Optional. Number of presets, up to twenty, that will be returned at one timepublic Integer getMaxResults()
public ListPresetsRequest withMaxResults(Integer maxResults)
maxResults
- Optional. Number of presets, up to twenty, that will be returned at one timepublic void setNextToken(String nextToken)
nextToken
- Use this string, provided with the response to a previous request, to request the next batch of presets.public String getNextToken()
public ListPresetsRequest withNextToken(String nextToken)
nextToken
- Use this string, provided with the response to a previous request, to request the next batch of presets.public void setOrder(String order)
order
- When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public String getOrder()
Order
public ListPresetsRequest withOrder(String order)
order
- When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public ListPresetsRequest withOrder(Order order)
order
- When you request lists of resources, you can optionally specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Order
public String toString()
toString
in class Object
Object.toString()
public ListPresetsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.