Interface Output.Builder

    • Method Detail

      • audioDescriptions

        Output.Builder audioDescriptions​(Collection<AudioDescription> audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Parameters:
        audioDescriptions - Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audioDescriptions

        Output.Builder audioDescriptions​(AudioDescription... audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Parameters:
        audioDescriptions - Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • audioDescriptions

        Output.Builder audioDescriptions​(Consumer<AudioDescription.Builder>... audioDescriptions)
        Contains groups of audio encoding settings organized by audio codec. Include one instance of per output. Can contain multiple groups of encoding settings. This is a convenience method that creates an instance of the AudioDescription.Builder avoiding the need to create one manually via AudioDescription.builder() .

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #audioDescriptions(List).

        Parameters:
        audioDescriptions - a consumer that will call methods on AudioDescription.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #audioDescriptions(java.util.Collection)
      • captionDescriptions

        Output.Builder captionDescriptions​(Collection<CaptionDescription> captionDescriptions)
        Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
        Parameters:
        captionDescriptions - Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • captionDescriptions

        Output.Builder captionDescriptions​(CaptionDescription... captionDescriptions)
        Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
        Parameters:
        captionDescriptions - Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • captionDescriptions

        Output.Builder captionDescriptions​(Consumer<CaptionDescription.Builder>... captionDescriptions)
        Contains groups of captions settings. For each output that has captions, include one instance of CaptionDescriptions. Can contain multiple groups of captions settings. This is a convenience method that creates an instance of the CaptionDescription.Builder avoiding the need to create one manually via CaptionDescription.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #captionDescriptions(List).

        Parameters:
        captionDescriptions - a consumer that will call methods on CaptionDescription.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #captionDescriptions(java.util.Collection)
      • containerSettings

        Output.Builder containerSettings​(ContainerSettings containerSettings)
        Container specific settings.
        Parameters:
        containerSettings - Container specific settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • extension

        Output.Builder extension​(String extension)
        Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
        Parameters:
        extension - Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameModifier

        Output.Builder nameModifier​(String nameModifier)
        Use Name modifier to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
        Parameters:
        nameModifier - Use Name modifier to have the service add a string to the end of each output filename. You specify the base filename as part of your destination URI. When you create multiple outputs in the same output group, Name modifier is required. Name modifier also accepts format identifiers. For DASH ISO outputs, if you use the format identifiers $Number$ or $Time$ in one output, you must use them in the same way in all outputs of the output group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputSettings

        Output.Builder outputSettings​(OutputSettings outputSettings)
        Specific settings for this type of output.
        Parameters:
        outputSettings - Specific settings for this type of output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preset

        Output.Builder preset​(String preset)
        Use Preset to specify a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset or Container settings, but not both.
        Parameters:
        preset - Use Preset to specify a preset for your transcoding settings. Provide the system or custom preset name. You can specify either Preset or Container settings, but not both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • videoDescription

        Output.Builder videoDescription​(VideoDescription videoDescription)
        VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
        Parameters:
        videoDescription - VideoDescription contains a group of video encoding settings. The specific video settings depend on the video codec that you choose for the property codec. Include one instance of VideoDescription per output.
        Returns:
        Returns a reference to this object so that method calls can be chained together.