Interface JobAlbumArt.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JobAlbumArt.Builder,JobAlbumArt>,SdkBuilder<JobAlbumArt.Builder,JobAlbumArt>,SdkPojo
- Enclosing class:
- JobAlbumArt
public static interface JobAlbumArt.Builder extends SdkPojo, CopyableBuilder<JobAlbumArt.Builder,JobAlbumArt>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobAlbumArt.Builderartwork(Collection<Artwork> artwork)The file to be used as album art.JobAlbumArt.Builderartwork(Consumer<Artwork.Builder>... artwork)The file to be used as album art.JobAlbumArt.Builderartwork(Artwork... artwork)The file to be used as album art.JobAlbumArt.BuildermergePolicy(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 Detail
-
mergePolicy
JobAlbumArt.Builder mergePolicy(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.
- 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
JobAlbumArt.Builder artwork(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.
-
artwork
JobAlbumArt.Builder artwork(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.
-
artwork
JobAlbumArt.Builder artwork(Consumer<Artwork.Builder>... 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.jpgand.pngArtwork.Builderavoiding the need to create one manually viaArtwork.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#artwork(List.) - 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:
#artwork(java.util.Collection)
-
-