Class MsSmoothGroupSettings

    • Method Detail

      • 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.
      • 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:
        MsSmoothAudioDeduplication
      • 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:
        MsSmoothFragmentLengthControl
      • 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:
        MsSmoothFragmentLengthControl
      • 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:
        MsSmoothManifestEncoding
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)