com.amazonaws.services.elastictranscoder.model
Class JobAlbumArt

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.JobAlbumArt
All Implemented Interfaces:
Serializable

public class JobAlbumArt
extends Object
implements Serializable

The .jpg or .png file associated with an audio file.

See Also:
Serialized Form

Constructor Summary
JobAlbumArt()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<Artwork> getArtwork()
          The file to be used as album art.
 String getMergePolicy()
          A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.
 int hashCode()
           
 void setArtwork(Collection<Artwork> artwork)
          The file to be used as album art.
 void setMergePolicy(String mergePolicy)
          A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 JobAlbumArt withArtwork(Artwork... artwork)
          The file to be used as album art.
 JobAlbumArt withArtwork(Collection<Artwork> artwork)
          The file to be used as album art.
 JobAlbumArt withMergePolicy(String mergePolicy)
          A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobAlbumArt

public JobAlbumArt()
Method Detail

getMergePolicy

public String getMergePolicy()
A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.

Constraints:
Pattern: (^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)

Returns:
A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.

  • Replace: The specified album art will replace any existing album art.
  • Prepend: The specified album art will be placed in front of any existing album art.
  • Append: The specified album art will be placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder will use that artwork for the output. If the original input does not contain artwork, Elastic Transcoder will use the specified album art file.

setMergePolicy

public void setMergePolicy(String mergePolicy)
A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.

Constraints:
Pattern: (^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)

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

  • Replace: The specified album art will replace any existing album art.
  • Prepend: The specified album art will be placed in front of any existing album art.
  • Append: The specified album art will be placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder will use that artwork for the output. If the original input does not contain artwork, Elastic Transcoder will use the specified album art file.

withMergePolicy

public JobAlbumArt withMergePolicy(String mergePolicy)
A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.

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

Constraints:
Pattern: (^Replace$)|(^Prepend$)|(^Append$)|(^Fallback$)

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

  • Replace: The specified album art will replace any existing album art.
  • Prepend: The specified album art will be placed in front of any existing album art.
  • Append: The specified album art will be placed after any existing album art.
  • Fallback: If the original input file contains artwork, Elastic Transcoder will use that artwork for the output. If the original input does not contain artwork, Elastic Transcoder will use the specified album art file.
Returns:
A reference to this updated 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

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

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:
A reference to this updated 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

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

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:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.