Interface ListPresetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPresetsResponse.Builder,,ListPresetsResponse> ElasticTranscoderResponse.Builder,SdkBuilder<ListPresetsResponse.Builder,,ListPresetsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListPresetsResponse
@Mutable
@NotThreadSafe
public static interface ListPresetsResponse.Builder
extends ElasticTranscoderResponse.Builder, SdkPojo, CopyableBuilder<ListPresetsResponse.Builder,ListPresetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextPageToken(String nextPageToken) A value that you use to access the second and subsequent pages of results, if any.presets(Collection<Preset> presets) An array ofPresetobjects.presets(Consumer<Preset.Builder>... presets) An array ofPresetobjects.An array ofPresetobjects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
presets
An array of
Presetobjects.- Parameters:
presets- An array ofPresetobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presets
An array of
Presetobjects.- Parameters:
presets- An array ofPresetobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presets
An array of
This is a convenience method that creates an instance of thePresetobjects.Preset.Builderavoiding the need to create one manually viaPreset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topresets(List<Preset>).- Parameters:
presets- a consumer that will call methods onPreset.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value of
NextPageTokenisnull.- Parameters:
nextPageToken- A value that you use to access the second and subsequent pages of results, if any. When the presets fit on one page or when you've reached the last page of results, the value ofNextPageTokenisnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-