Interface ListPresetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListPresetsResponse.Builder,
,ListPresetsResponse> ElasticTranscoderResponse.Builder
,SdkBuilder<ListPresetsResponse.Builder,
,ListPresetsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListPresetsResponse
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 ofPreset
objects.presets
(Consumer<Preset.Builder>... presets) An array ofPreset
objects.An array ofPreset
objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.elastictranscoder.model.ElasticTranscoderResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
presets
An array of
Preset
objects.- Parameters:
presets
- An array ofPreset
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
presets
An array of
Preset
objects.- Parameters:
presets
- An array ofPreset
objects.- 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 thePreset
objects.Preset.Builder
avoiding the need to create one manually viaPreset.builder()
.When the
Consumer
completes,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
NextPageToken
isnull
.- 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 ofNextPageToken
isnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-