Class ContainerSettings

java.lang.Object
software.amazon.awssdk.services.mediaconvert.model.ContainerSettings
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<ContainerSettings.Builder,ContainerSettings>

@Generated("software.amazon.awssdk:codegen") public final class ContainerSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerSettings.Builder,ContainerSettings>
Container specific settings.
See Also:
  • Method Details

    • cmfcSettings

      public final CmfcSettings cmfcSettings()
      These settings relate to the fragmented MP4 container for the segments in your CMAF outputs.
      Returns:
      These settings relate to the fragmented MP4 container for the segments in your CMAF outputs.
    • container

      public final ContainerType container()
      Container for this output. Some containers require a container settings object. If not specified, the default object will be created.

      If the service returns an enum value that is not available in the current SDK version, container will return ContainerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from containerAsString().

      Returns:
      Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
      See Also:
    • containerAsString

      public final String containerAsString()
      Container for this output. Some containers require a container settings object. If not specified, the default object will be created.

      If the service returns an enum value that is not available in the current SDK version, container will return ContainerType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from containerAsString().

      Returns:
      Container for this output. Some containers require a container settings object. If not specified, the default object will be created.
      See Also:
    • f4vSettings

      public final F4vSettings f4vSettings()
      Settings for F4v container
      Returns:
      Settings for F4v container
    • m2tsSettings

      public final M2tsSettings m2tsSettings()
      MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
      Returns:
      MPEG-2 TS container settings. These apply to outputs in a File output group when the output's container is MPEG-2 Transport Stream (M2TS). In these assets, data is organized by the program map table (PMT). Each transport stream program contains subsets of data, including audio, video, and metadata. Each of these subsets of data has a numerical label called a packet identifier (PID). Each transport stream program corresponds to one MediaConvert output. The PMT lists the types of data in a program along with their PID. Downstream systems and players use the program map table to look up the PID for each type of data it accesses and then uses the PIDs to locate specific data within the asset.
    • m3u8Settings

      public final M3u8Settings m3u8Settings()
      These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.
      Returns:
      These settings relate to the MPEG-2 transport stream (MPEG2-TS) container for the MPEG2-TS segments in your HLS outputs.
    • movSettings

      public final MovSettings movSettings()
      These settings relate to your QuickTime MOV output container.
      Returns:
      These settings relate to your QuickTime MOV output container.
    • mp4Settings

      public final Mp4Settings mp4Settings()
      These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers-audio-only.html #output-codecs-and-containers-supported-for-audio-only.
      Returns:
      These settings relate to your MP4 output container. You can create audio only outputs with this container. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/supported-codecs-containers -audio-only.html#output-codecs-and-containers-supported-for-audio-only.
    • mpdSettings

      public final MpdSettings mpdSettings()
      These settings relate to the fragmented MP4 container for the segments in your DASH outputs.
      Returns:
      These settings relate to the fragmented MP4 container for the segments in your DASH outputs.
    • mxfSettings

      public final MxfSettings mxfSettings()
      These settings relate to your MXF output container.
      Returns:
      These settings relate to your MXF output container.
    • toBuilder

      public ContainerSettings.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<ContainerSettings.Builder,ContainerSettings>
      Returns:
      a builder for type T
    • builder

      public static ContainerSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ContainerSettings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.