@Generated(value="software.amazon.awssdk:codegen") public final class ListPresetsRequest extends MediaConvertRequest implements ToCopyableBuilder<ListPresetsRequest.Builder,ListPresetsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListPresetsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListPresetsRequest.Builder |
builder() |
String |
category()
Optionally, specify a preset category to limit responses to only presets from that category.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
PresetListBy |
listBy()
Returns the value of the ListBy property for this object.
|
String |
listByAsString()
Returns the value of the ListBy property for this object.
|
Integer |
maxResults()
Optional.
|
String |
nextToken()
Use this string, provided with the response to a previous request, to request the next batch of presets.
|
Order |
order()
Returns the value of the Order property for this object.
|
String |
orderAsString()
Returns the value of the Order property for this object.
|
static Class<? extends ListPresetsRequest.Builder> |
serializableBuilderClass() |
ListPresetsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public String category()
public PresetListBy listBy()
If the service returns an enum value that is not available in the current SDK version, listBy
will
return PresetListBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
listByAsString()
.
PresetListBy
public String listByAsString()
If the service returns an enum value that is not available in the current SDK version, listBy
will
return PresetListBy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
listByAsString()
.
PresetListBy
public Integer maxResults()
public String nextToken()
public Order order()
If the service returns an enum value that is not available in the current SDK version, order
will return
Order.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
orderAsString()
.
Order
public String orderAsString()
If the service returns an enum value that is not available in the current SDK version, order
will return
Order.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
orderAsString()
.
Order
public ListPresetsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListPresetsRequest.Builder,ListPresetsRequest>
toBuilder
in class MediaConvertRequest
public static ListPresetsRequest.Builder builder()
public static Class<? extends ListPresetsRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.