@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() |
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() |
int |
hashCode() |
void |
setCategory(String category)
Optionally, specify a preset category to limit responses to only presets from that category.
|
void |
setListBy(String listBy) |
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) |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListPresetsRequest |
withCategory(String category)
Optionally, specify a preset category to limit responses to only presets from that category.
|
ListPresetsRequest |
withListBy(PresetListBy listBy) |
ListPresetsRequest |
withListBy(String listBy) |
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) |
ListPresetsRequest |
withOrder(String 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
- PresetListBy
public String getListBy()
PresetListBy
public ListPresetsRequest withListBy(String listBy)
listBy
- PresetListBy
public ListPresetsRequest withListBy(PresetListBy listBy)
listBy
- 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 ListPresetsRequest withOrder(String order)
order
- Order
public ListPresetsRequest withOrder(Order order)
order
- 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.