Interface ListPresetsResponse.Builder

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

  • Method Details

    • presets

      An array of Preset objects.

      Parameters:
      presets - An array of Preset objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • presets

      ListPresetsResponse.Builder presets(Preset... presets)

      An array of Preset objects.

      Parameters:
      presets - An array of Preset objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • presets

      An array of Preset objects.

      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 presets(List<Preset>).

      Parameters:
      presets - 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:
    • nextPageToken

      ListPresetsResponse.Builder nextPageToken(String 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 is null.

      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 of NextPageToken is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.