Class JobAlbumArt
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.JobAlbumArt
-
- All Implemented Interfaces:
Serializable,Cloneable
public class JobAlbumArt extends Object implements Serializable, Cloneable
The .jpg or .png file associated with an audio file.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JobAlbumArt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobAlbumArtclone()booleanequals(Object obj)List<Artwork>getArtwork()The file to be used as album art.StringgetMergePolicy()A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.inthashCode()voidsetArtwork(Collection<Artwork> artwork)The file to be used as album art.voidsetMergePolicy(String mergePolicy)A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.StringtoString()Returns a string representation of this object; useful for testing and debugging.JobAlbumArtwithArtwork(Artwork... artwork)The file to be used as album art.JobAlbumArtwithArtwork(Collection<Artwork> artwork)The file to be used as album art.JobAlbumArtwithMergePolicy(String mergePolicy)A policy that determines how Elastic Transcoder will handle the existence of multiple album artwork files.
-
-
-
Method Detail
-
setMergePolicy
public void setMergePolicy(String 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.
- 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.
-
-
-
getMergePolicy
public String getMergePolicy()
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 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.
-
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.
- 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:
- 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
.jpgand.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
.jpgand.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
.jpgand.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.jpgand.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
.jpgand.pngNOTE: This method appends the values to the existing list (if any). Use
setArtwork(java.util.Collection)orwithArtwork(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.jpgand.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
.jpgand.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.jpgand.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; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public JobAlbumArt clone()
-
-