Interface JobAlbumArt.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JobAlbumArt.Builder,JobAlbumArt>, SdkBuilder<JobAlbumArt.Builder,JobAlbumArt>, SdkPojo
Enclosing class:
JobAlbumArt

public static interface JobAlbumArt.Builder extends SdkPojo, CopyableBuilder<JobAlbumArt.Builder,JobAlbumArt>
  • Method Details

    • mergePolicy

      JobAlbumArt.Builder mergePolicy(String mergePolicy)

      A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

      • Replace: The specified album art replaces any existing album art.

      • Prepend: The specified album art is placed in front of any existing album art.

      • Append: The specified album art is placed after any existing album art.

      • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

      Parameters:
      mergePolicy - A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.

      • Replace: The specified album art replaces any existing album art.

      • Prepend: The specified album art is placed in front of any existing album art.

      • Append: The specified album art is placed after any existing album art.

      • Fallback: If the original input file contains artwork, Elastic Transcoder uses that artwork for the output. If the original input does not contain artwork, Elastic Transcoder uses the specified album art file.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artwork

      The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

      Parameters:
      artwork - The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artwork

      JobAlbumArt.Builder artwork(Artwork... artwork)

      The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

      Parameters:
      artwork - The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • artwork

      The file to be used as album art. There can be multiple artworks associated with an audio file, to a maximum of 20. Valid formats are .jpg and .png

      This is a convenience method that creates an instance of the Artwork.Builder avoiding the need to create one manually via Artwork.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to artwork(List<Artwork>).

      Parameters:
      artwork - a consumer that will call methods on Artwork.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: