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
Modifier and TypeMethodDescriptiondefault CreatePresetResponse.Builderpreset(Consumer<Preset.Builder> preset) A section of the response body that provides information about the preset that is created.A section of the response body that provides information about the preset that is created.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
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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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:
-
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.
-