Class MsSmoothGroupSettings

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

@Generated("software.amazon.awssdk:codegen") public final class MsSmoothGroupSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MsSmoothGroupSettings.Builder,MsSmoothGroupSettings>
Settings related to your Microsoft Smooth Streaming output package. For more information, see https://docs.aws.amazon.com/mediaconvert/latest/ug/outputs-file-ABR.html.
See Also:
  • Method Details

    • hasAdditionalManifests

      public final boolean hasAdditionalManifests()
      For responses, this returns true if the service returned a value for the AdditionalManifests property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • additionalManifests

      public final List<MsSmoothAdditionalManifest> additionalManifests()
      By default, the service creates one .ism Microsoft Smooth Streaming manifest for each Microsoft Smooth Streaming output group in your job. This default manifest references every output in the output group. To create additional manifests that reference a subset of the outputs in the output group, specify a list of them here.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasAdditionalManifests() method.

      Returns:
      By default, the service creates one .ism Microsoft Smooth Streaming manifest for each Microsoft Smooth Streaming output group in your job. This default manifest references every output in the output group. To create additional manifests that reference a subset of the outputs in the output group, specify a list of them here.
    • audioDeduplication

      public final MsSmoothAudioDeduplication audioDeduplication()
      COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream.

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

      Returns:
      COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream.
      See Also:
    • audioDeduplicationAsString

      public final String audioDeduplicationAsString()
      COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream.

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

      Returns:
      COMBINE_DUPLICATE_STREAMS combines identical audio encoding settings across a Microsoft Smooth output group into a single audio stream.
      See Also:
    • destination

      public final String destination()
      Use Destination to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
      Returns:
      Use Destination to specify the S3 output location and the output filename base. Destination accepts format identifiers. If you do not specify the base filename in the URI, the service will use the filename of the input file. If your job has multiple inputs, the service uses the filename of the first input file.
    • destinationSettings

      public final DestinationSettings destinationSettings()
      Settings associated with the destination. Will vary based on the type of destination
      Returns:
      Settings associated with the destination. Will vary based on the type of destination
    • encryption

      public final MsSmoothEncryptionSettings encryption()
      If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
      Returns:
      If you are using DRM, set DRM System to specify the value SpekeKeyProvider.
    • fragmentLength

      public final Integer fragmentLength()
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.
      Returns:
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.
    • fragmentLengthControl

      public final MsSmoothFragmentLengthControl fragmentLengthControl()
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.

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

      Returns:
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.
      See Also:
    • fragmentLengthControlAsString

      public final String fragmentLengthControlAsString()
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.

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

      Returns:
      Specify how you want MediaConvert to determine the fragment length. Choose Exact to have the encoder use the exact length that you specify with the setting Fragment length. This might result in extra I-frames. Choose Multiple of GOP to have the encoder round up the segment lengths to match the next GOP boundary.
      See Also:
    • manifestEncoding

      public final MsSmoothManifestEncoding manifestEncoding()
      Use Manifest encoding to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.

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

      Returns:
      Use Manifest encoding to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.
      See Also:
    • manifestEncodingAsString

      public final String manifestEncodingAsString()
      Use Manifest encoding to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.

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

      Returns:
      Use Manifest encoding to specify the encoding format for the server and client manifest. Valid options are utf8 and utf16.
      See Also:
    • toBuilder

      public MsSmoothGroupSettings.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<MsSmoothGroupSettings.Builder,MsSmoothGroupSettings>
      Returns:
      a builder for type T
    • builder

      public static MsSmoothGroupSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends MsSmoothGroupSettings.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.