#[non_exhaustive]pub struct JobAlbumArtBuilder { /* private fields */ }Expand description
A builder for JobAlbumArt.
Implementations§
source§impl JobAlbumArtBuilder
 
impl JobAlbumArtBuilder
sourcepub fn merge_policy(self, input: impl Into<String>) -> Self
 
pub fn merge_policy(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_merge_policy(self, input: Option<String>) -> Self
 
pub fn set_merge_policy(self, input: Option<String>) -> Self
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.
sourcepub fn get_merge_policy(&self) -> &Option<String>
 
pub fn get_merge_policy(&self) -> &Option<String>
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.
sourcepub fn artwork(self, input: Artwork) -> Self
 
pub fn artwork(self, input: Artwork) -> Self
Appends an item to artwork.
To override the contents of this collection use set_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
sourcepub fn set_artwork(self, input: Option<Vec<Artwork>>) -> Self
 
pub fn set_artwork(self, input: Option<Vec<Artwork>>) -> Self
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
sourcepub fn get_artwork(&self) -> &Option<Vec<Artwork>>
 
pub fn get_artwork(&self) -> &Option<Vec<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
sourcepub fn build(self) -> JobAlbumArt
 
pub fn build(self) -> JobAlbumArt
Consumes the builder and constructs a JobAlbumArt.
Trait Implementations§
source§impl Clone for JobAlbumArtBuilder
 
impl Clone for JobAlbumArtBuilder
source§fn clone(&self) -> JobAlbumArtBuilder
 
fn clone(&self) -> JobAlbumArtBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for JobAlbumArtBuilder
 
impl Debug for JobAlbumArtBuilder
source§impl Default for JobAlbumArtBuilder
 
impl Default for JobAlbumArtBuilder
source§fn default() -> JobAlbumArtBuilder
 
fn default() -> JobAlbumArtBuilder
source§impl PartialEq for JobAlbumArtBuilder
 
impl PartialEq for JobAlbumArtBuilder
source§fn eq(&self, other: &JobAlbumArtBuilder) -> bool
 
fn eq(&self, other: &JobAlbumArtBuilder) -> bool
self and other values to be equal, and is used
by ==.