/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.elastictranscoder.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The .jpg or .png file associated with an audio file. *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JobAlbumArt implements Serializable, Cloneable, StructuredPojo { /** ** 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.
*
* 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
*
* 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.
*
* 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.
*
* 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.
*
* 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 java.util.List
* 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
* 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 * {@link #setArtwork(java.util.Collection)} or {@link #withArtwork(java.util.Collection)} if you want to override * the existing values. *
* * @param 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
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobAlbumArt withArtwork(Artwork... artwork) {
if (this.artwork == null) {
setArtwork(new com.amazonaws.internal.SdkInternalList
* 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
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobAlbumArt withArtwork(java.util.Collection