Interface CreatePresetResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreatePresetResponse.Builder,CreatePresetResponse>,ElasticTranscoderResponse.Builder,SdkBuilder<CreatePresetResponse.Builder,CreatePresetResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreatePresetResponse
public static interface CreatePresetResponse.Builder extends ElasticTranscoderResponse.Builder, SdkPojo, CopyableBuilder<CreatePresetResponse.Builder,CreatePresetResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreatePresetResponse.Builderpreset(Consumer<Preset.Builder> preset)A section of the response body that provides information about the preset that is created.CreatePresetResponse.Builderpreset(Preset preset)A section of the response body that provides information about the preset that is created.CreatePresetResponse.Builderwarning(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.-
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 Detail
-
preset
CreatePresetResponse.Builder preset(Preset preset)
A section of the response body that provides information about the preset that is created.
- Parameters:
preset- A section of the response body that provides information about the preset that is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preset
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 method that creates an instance of thePreset.Builderavoiding the need to create one manually viaPreset.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreset(Preset).- Parameters:
preset- 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:
preset(Preset)
-
warning
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-