JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.elastictranscoder.model

Class JobAlbumArt

    • Constructor Detail

      • JobAlbumArt

        public JobAlbumArt()
    • Method Detail

      • setMergePolicy

        public void setMergePolicy(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.

      • getMergePolicy

        public String getMergePolicy()

        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:
        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.

      • withMergePolicy

        public JobAlbumArt withMergePolicy(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.
      • getArtwork

        public List<Artwork> getArtwork()

        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:
        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
      • setArtwork

        public void setArtwork(Collection<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
      • withArtwork

        public JobAlbumArt withArtwork(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

        NOTE: This method appends the values to the existing list (if any). Use setArtwork(java.util.Collection) or withArtwork(java.util.Collection) if you want to override the existing values.

        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.
      • withArtwork

        public JobAlbumArt withArtwork(Collection<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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /