@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()
Optional.
|
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)
Optional.
|
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)
Optional.
|
ListPresetsRequest |
withOrder(String order)
Optional.
|
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 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.PresetListBypublic String getListBy()
PresetListBypublic 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.PresetListBypublic 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.PresetListBypublic 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 - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Orderpublic String getOrder()
Orderpublic ListPresetsRequest withOrder(String order)
order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Orderpublic ListPresetsRequest withOrder(Order order)
order - Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or
DESCENDING order. Default varies by resource.Orderpublic String toString()
toString in class ObjectObject.toString()public ListPresetsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()