Interface JobAlbumArt.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobAlbumArt.Builder,
,JobAlbumArt> SdkBuilder<JobAlbumArt.Builder,
,JobAlbumArt> SdkPojo
- Enclosing class:
JobAlbumArt
-
Method Summary
Modifier and TypeMethodDescriptionartwork
(Collection<Artwork> artwork) The file to be used as album art.artwork
(Consumer<Artwork.Builder>... artwork) The file to be used as album art.The file to be used as album art.mergePolicy
(String mergePolicy) A policy that determines how Elastic Transcoder handles the existence of multiple album artwork files.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
-
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.
-
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.
-
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
This is a convenience method that creates an instance of the.jpg
and.png
Artwork.Builder
avoiding the need to create one manually viaArtwork.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartwork(List<Artwork>)
.- Parameters:
artwork
- a consumer that will call methods onArtwork.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-