@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobAlbumArt extends Object implements Serializable, Cloneable, StructuredPojo
The .jpg or .png file associated with an audio file.
Constructor and Description |
---|
JobAlbumArt() |
Modifier and Type | Method and Description |
---|---|
JobAlbumArt |
clone() |
boolean |
equals(Object obj) |
List<Artwork> |
getArtwork()
The file to be used as album art.
|
String |
getMergePolicy()
A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtwork(Collection<Artwork> artwork)
The file to be used as album art.
|
void |
setMergePolicy(String mergePolicy)
A policy that determines how Elastic Transcoder handles 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 handles the existence of multiple album artwork files.
|
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.
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.
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.
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.
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.
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.
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
.jpg
and .png
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
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(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 String toString()
toString
in class Object
Object.toString()
public JobAlbumArt clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.