public class JobAlbumArt
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The .jpg or .png file associated with an audio file.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Artwork> |
artwork
The file to be used as album art.
|
private java.lang.String |
mergePolicy
A policy that determines how Elastic Transcoder will handle the existence
of multiple album artwork files.
|
Constructor and Description |
---|
JobAlbumArt() |
Modifier and Type | Method and Description |
---|---|
JobAlbumArt |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Artwork> |
getArtwork()
The file to be used as album art.
|
java.lang.String |
getMergePolicy()
A policy that determines how Elastic Transcoder will handle the existence
of multiple album artwork files.
|
int |
hashCode() |
void |
setArtwork(java.util.Collection<Artwork> artwork)
The file to be used as album art.
|
void |
setMergePolicy(java.lang.String mergePolicy)
A policy that determines how Elastic Transcoder will handle the existence
of multiple album artwork files.
|
java.lang.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(java.util.Collection<Artwork> artwork)
The file to be used as album art.
|
JobAlbumArt |
withMergePolicy(java.lang.String mergePolicy)
A policy that determines how Elastic Transcoder will handle the existence
of multiple album artwork files.
|
private java.lang.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.private SdkInternalList<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
public void setMergePolicy(java.lang.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.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.public java.lang.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.
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.public JobAlbumArt withMergePolicy(java.lang.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.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.public java.util.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
.jpg
and .png
public void setArtwork(java.util.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
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
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.
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
public JobAlbumArt withArtwork(java.util.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
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public JobAlbumArt clone()
clone
in class java.lang.Object