Interface CmafIngestGroupSettings.Builder

  • Method Details

    • destination

      A HTTP destination for the tracks
      Parameters:
      destination - A HTTP destination for the tracks
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destination

      A HTTP destination for the tracks This is a convenience method that creates an instance of the OutputLocationRef.Builder avoiding the need to create one manually via OutputLocationRef.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destination(OutputLocationRef).

      Parameters:
      destination - a consumer that will call methods on OutputLocationRef.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      CmafIngestGroupSettings.Builder nielsenId3Behavior(String nielsenId3Behavior)
      If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Parameters:
      nielsenId3Behavior - If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nielsenId3Behavior

      CmafIngestGroupSettings.Builder nielsenId3Behavior(CmafNielsenId3Behavior nielsenId3Behavior)
      If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Parameters:
      nielsenId3Behavior - If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Type

      CmafIngestGroupSettings.Builder scte35Type(String scte35Type)
      Type of scte35 track to add. none or scte35WithoutSegmentation
      Parameters:
      scte35Type - Type of scte35 track to add. none or scte35WithoutSegmentation
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scte35Type

      Type of scte35 track to add. none or scte35WithoutSegmentation
      Parameters:
      scte35Type - Type of scte35 track to add. none or scte35WithoutSegmentation
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentLength

      CmafIngestGroupSettings.Builder segmentLength(Integer segmentLength)
      The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units.
      Parameters:
      segmentLength - The nominal duration of segments. The units are specified in SegmentLengthUnits. The segments will end on the next keyframe after the specified duration, so the actual segment length might be longer, and it might be a fraction of the units.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentLengthUnits

      CmafIngestGroupSettings.Builder segmentLengthUnits(String segmentLengthUnits)
      Time unit for segment length parameter.
      Parameters:
      segmentLengthUnits - Time unit for segment length parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentLengthUnits

      CmafIngestGroupSettings.Builder segmentLengthUnits(CmafIngestSegmentLengthUnits segmentLengthUnits)
      Time unit for segment length parameter.
      Parameters:
      segmentLengthUnits - Time unit for segment length parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sendDelayMs

      CmafIngestGroupSettings.Builder sendDelayMs(Integer sendDelayMs)
      Number of milliseconds to delay the output from the second pipeline.
      Parameters:
      sendDelayMs - Number of milliseconds to delay the output from the second pipeline.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • klvBehavior

      CmafIngestGroupSettings.Builder klvBehavior(String klvBehavior)
      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klvBehavior - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klvBehavior

      If set to passthrough, passes any KLV data from the input source to this output.
      Parameters:
      klvBehavior - If set to passthrough, passes any KLV data from the input source to this output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • klvNameModifier

      CmafIngestGroupSettings.Builder klvNameModifier(String klvNameModifier)
      Change the modifier that MediaLive automatically adds to the Streams() name that identifies a KLV track. The default is "klv", which means the default name will be Streams(klv.cmfm). Any string you enter here will replace the "klv" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Parameters:
      klvNameModifier - Change the modifier that MediaLive automatically adds to the Streams() name that identifies a KLV track. The default is "klv", which means the default name will be Streams(klv.cmfm). Any string you enter here will replace the "klv" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nielsenId3NameModifier

      CmafIngestGroupSettings.Builder nielsenId3NameModifier(String nielsenId3NameModifier)
      Change the modifier that MediaLive automatically adds to the Streams() name that identifies a Nielsen ID3 track. The default is "nid3", which means the default name will be Streams(nid3.cmfm). Any string you enter here will replace the "nid3" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Parameters:
      nielsenId3NameModifier - Change the modifier that MediaLive automatically adds to the Streams() name that identifies a Nielsen ID3 track. The default is "nid3", which means the default name will be Streams(nid3.cmfm). Any string you enter here will replace the "nid3" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scte35NameModifier

      CmafIngestGroupSettings.Builder scte35NameModifier(String scte35NameModifier)
      Change the modifier that MediaLive automatically adds to the Streams() name for a SCTE 35 track. The default is "scte", which means the default name will be Streams(scte.cmfm). Any string you enter here will replace the "scte" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Parameters:
      scte35NameModifier - Change the modifier that MediaLive automatically adds to the Streams() name for a SCTE 35 track. The default is "scte", which means the default name will be Streams(scte.cmfm). Any string you enter here will replace the "scte" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id3Behavior

      CmafIngestGroupSettings.Builder id3Behavior(String id3Behavior)
      Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Parameters:
      id3Behavior - Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id3Behavior

      Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Parameters:
      id3Behavior - Set to ENABLED to enable ID3 metadata insertion. To include metadata, you configure other parameters in the output group, or you add an ID3 action to the channel schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • id3NameModifier

      CmafIngestGroupSettings.Builder id3NameModifier(String id3NameModifier)
      Change the modifier that MediaLive automatically adds to the Streams() name that identifies an ID3 track. The default is "id3", which means the default name will be Streams(id3.cmfm). Any string you enter here will replace the "id3" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Parameters:
      id3NameModifier - Change the modifier that MediaLive automatically adds to the Streams() name that identifies an ID3 track. The default is "id3", which means the default name will be Streams(id3.cmfm). Any string you enter here will replace the "id3" string.\nThe modifier can only contain: numbers, letters, plus (+), minus (-), underscore (_) and period (.) and has a maximum length of 100 characters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionLanguageMappings

      CmafIngestGroupSettings.Builder captionLanguageMappings(Collection<CmafIngestCaptionLanguageMapping> captionLanguageMappings)
      An array that identifies the languages in the four caption channels in the embedded captions.
      Parameters:
      captionLanguageMappings - An array that identifies the languages in the four caption channels in the embedded captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionLanguageMappings

      CmafIngestGroupSettings.Builder captionLanguageMappings(CmafIngestCaptionLanguageMapping... captionLanguageMappings)
      An array that identifies the languages in the four caption channels in the embedded captions.
      Parameters:
      captionLanguageMappings - An array that identifies the languages in the four caption channels in the embedded captions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • captionLanguageMappings

      CmafIngestGroupSettings.Builder captionLanguageMappings(Consumer<CmafIngestCaptionLanguageMapping.Builder>... captionLanguageMappings)
      An array that identifies the languages in the four caption channels in the embedded captions. This is a convenience method that creates an instance of the CmafIngestCaptionLanguageMapping.Builder avoiding the need to create one manually via CmafIngestCaptionLanguageMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to captionLanguageMappings(List<CmafIngestCaptionLanguageMapping>).

      Parameters:
      captionLanguageMappings - a consumer that will call methods on CmafIngestCaptionLanguageMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Frame

      CmafIngestGroupSettings.Builder timedMetadataId3Frame(String timedMetadataId3Frame)
      Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Parameters:
      timedMetadataId3Frame - Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Frame

      CmafIngestGroupSettings.Builder timedMetadataId3Frame(CmafTimedMetadataId3Frame timedMetadataId3Frame)
      Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Parameters:
      timedMetadataId3Frame - Set to none if you don't want to insert a timecode in the output. Otherwise choose the frame type for the timecode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataId3Period

      CmafIngestGroupSettings.Builder timedMetadataId3Period(Integer timedMetadataId3Period)
      If you set up to insert a timecode in the output, specify the frequency for the frame, in seconds.
      Parameters:
      timedMetadataId3Period - If you set up to insert a timecode in the output, specify the frequency for the frame, in seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timedMetadataPassthrough

      CmafIngestGroupSettings.Builder timedMetadataPassthrough(String timedMetadataPassthrough)
      Set to enabled to pass through ID3 metadata from the input sources.
      Parameters:
      timedMetadataPassthrough - Set to enabled to pass through ID3 metadata from the input sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timedMetadataPassthrough

      CmafIngestGroupSettings.Builder timedMetadataPassthrough(CmafTimedMetadataPassthrough timedMetadataPassthrough)
      Set to enabled to pass through ID3 metadata from the input sources.
      Parameters:
      timedMetadataPassthrough - Set to enabled to pass through ID3 metadata from the input sources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: