/* * 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 file format of the output captions. If you leave this value blank, Elastic Transcoder returns an error. *

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CaptionFormat implements Serializable, Cloneable, StructuredPojo { /** *

* The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this * output. *

* */ private String format; /** *

* The prefix for caption filenames, in the form description-{language}, where: *

* *

* If you don't include {language} in the file name pattern, Elastic Transcoder automatically appends " * {language}" to the value that you specify for the description. In addition, Elastic Transcoder * automatically appends the count to the end of the segment files. *

*

* For example, suppose you're transcoding into srt format. When you enter "Sydney-{language}-sunrise", and the * language of the captions is English (en), the name of the first caption file is be Sydney-en-sunrise00000.srt. *

*/ private String pattern; /** *

* The encryption settings, if any, that you want Elastic Transcoder to apply to your caption formats. *

*/ private Encryption encryption; /** *

* The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for this * output. *

* * * @param format * The format you specify determines whether Elastic Transcoder generates an embedded or sidecar caption for * this output.

*