Class EmbeddedDestinationSettings

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

@Generated("software.amazon.awssdk:codegen") public final class EmbeddedDestinationSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmbeddedDestinationSettings.Builder,EmbeddedDestinationSettings>
Embedded Destination Settings
See Also:
  • Method Details

    • position

      public final EmbeddedCaptionPositionSettings position()
      Specifies the position of the output captions. Applies only when styleControl is set to manual.
      Returns:
      Specifies the position of the output captions. Applies only when styleControl is set to manual.
    • styleControl

      public final EmbeddedDestinationStyleControl styleControl()
      Controls the source of position and style information for the output captions. - "passthrough": Carry the caption position and style from the source captions. When the source captions are embedded, SCTE-20, or ancillary, the position and style are preserved exactly. When the source captions are another format, the position and any supported style are carried over. - "manual": Applies the specified styling and positioning. All other styling and positioning is given default values.

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

      Returns:
      Controls the source of position and style information for the output captions. - "passthrough": Carry the caption position and style from the source captions. When the source captions are embedded, SCTE-20, or ancillary, the position and style are preserved exactly. When the source captions are another format, the position and any supported style are carried over. - "manual": Applies the specified styling and positioning. All other styling and positioning is given default values.
      See Also:
    • styleControlAsString

      public final String styleControlAsString()
      Controls the source of position and style information for the output captions. - "passthrough": Carry the caption position and style from the source captions. When the source captions are embedded, SCTE-20, or ancillary, the position and style are preserved exactly. When the source captions are another format, the position and any supported style are carried over. - "manual": Applies the specified styling and positioning. All other styling and positioning is given default values.

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

      Returns:
      Controls the source of position and style information for the output captions. - "passthrough": Carry the caption position and style from the source captions. When the source captions are embedded, SCTE-20, or ancillary, the position and style are preserved exactly. When the source captions are another format, the position and any supported style are carried over. - "manual": Applies the specified styling and positioning. All other styling and positioning is given default values.
      See Also:
    • captionServiceChannel

      public final Integer captionServiceChannel()
      CC Channel / Service number for 608/708 encode mode. Serves as both the 608 CC channel and the 708 service number (e.g., 1 = CC1 + Service 1). Only takes effect when the source is non-embedded (teletext, smart captions, etc.) — ignored in passthrough mode. Range 1-4: valid for embedded608Only, embedded708Only, or embedded608And708. Range 5-63: valid for embedded708Only.
      Returns:
      CC Channel / Service number for 608/708 encode mode. Serves as both the 608 CC channel and the 708 service number (e.g., 1 = CC1 + Service 1). Only takes effect when the source is non-embedded (teletext, smart captions, etc.) — ignored in passthrough mode. Range 1-4: valid for embedded608Only, embedded708Only, or embedded608And708. Range 5-63: valid for embedded708Only.
    • embeddedMode

      public final EmbeddedModeType embeddedMode()
      Controls what the encoder generates when in encode mode (non-embedded source → embedded destination). Ignored in passthrough mode (embedded source → embedded destination). - "embedded608Only": Generate CEA-608 CC pairs only (channel must be 1-4) - "embedded708Only": Generate CEA-708 service blocks only (channel 1-63) - "embedded608And708": Generate both 608 CC pairs and 708 service blocks (channel 1-4 gets both, 5-63 gets 708 only)

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

      Returns:
      Controls what the encoder generates when in encode mode (non-embedded source → embedded destination). Ignored in passthrough mode (embedded source → embedded destination). - "embedded608Only": Generate CEA-608 CC pairs only (channel must be 1-4) - "embedded708Only": Generate CEA-708 service blocks only (channel 1-63) - "embedded608And708": Generate both 608 CC pairs and 708 service blocks (channel 1-4 gets both, 5-63 gets 708 only)
      See Also:
    • embeddedModeAsString

      public final String embeddedModeAsString()
      Controls what the encoder generates when in encode mode (non-embedded source → embedded destination). Ignored in passthrough mode (embedded source → embedded destination). - "embedded608Only": Generate CEA-608 CC pairs only (channel must be 1-4) - "embedded708Only": Generate CEA-708 service blocks only (channel 1-63) - "embedded608And708": Generate both 608 CC pairs and 708 service blocks (channel 1-4 gets both, 5-63 gets 708 only)

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

      Returns:
      Controls what the encoder generates when in encode mode (non-embedded source → embedded destination). Ignored in passthrough mode (embedded source → embedded destination). - "embedded608Only": Generate CEA-608 CC pairs only (channel must be 1-4) - "embedded708Only": Generate CEA-708 service blocks only (channel 1-63) - "embedded608And708": Generate both 608 CC pairs and 708 service blocks (channel 1-4 gets both, 5-63 gets 708 only)
      See Also:
    • 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<EmbeddedDestinationSettings.Builder,EmbeddedDestinationSettings>
      Returns:
      a builder for type T
    • builder

      public static EmbeddedDestinationSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends EmbeddedDestinationSettings.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.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.