public static interface CreatePresetResponse.Builder extends ElasticTranscoderResponse.Builder, CopyableBuilder<CreatePresetResponse.Builder,CreatePresetResponse>
Modifier and Type | Method and Description |
---|---|
default CreatePresetResponse.Builder |
preset(Consumer<Preset.Builder> preset)
A section of the response body that provides information about the preset that is created.
|
CreatePresetResponse.Builder |
preset(Preset preset)
A section of the response body that provides information about the preset that is created.
|
CreatePresetResponse.Builder |
warning(String warning)
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the
preset, this message explains the reason the preset settings don't meet the standard.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreatePresetResponse.Builder preset(Preset preset)
A section of the response body that provides information about the preset that is created.
preset
- A section of the response body that provides information about the preset that is created.default CreatePresetResponse.Builder preset(Consumer<Preset.Builder> preset)
A section of the response body that provides information about the preset that is created.
This is a convenience that creates an instance of thePreset.Builder
avoiding the need to create one
manually via Preset.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to preset(Preset)
.preset
- a consumer that will call methods on Preset.Builder
preset(Preset)
CreatePresetResponse.Builder warning(String warning)
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
warning
- If the preset settings don't comply with the standards for the video codec but Elastic Transcoder
created the preset, this message explains the reason the preset settings don't meet the standard.
Elastic Transcoder created the preset because the settings might produce acceptable output.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.