Interface CreatePresetResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<CreatePresetResponse.Builder,CreatePresetResponse>, ElasticTranscoderResponse.Builder, SdkBuilder<CreatePresetResponse.Builder,CreatePresetResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
CreatePresetResponse

  • 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 the Preset.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).

      Parameters:
      preset - a consumer that will call methods on Preset.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.