Interface Scte35SegmentationDescriptor.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Scte35SegmentationDescriptor.Builder,Scte35SegmentationDescriptor>, SdkBuilder<Scte35SegmentationDescriptor.Builder,Scte35SegmentationDescriptor>, SdkPojo
Enclosing class:
Scte35SegmentationDescriptor

public static interface Scte35SegmentationDescriptor.Builder extends SdkPojo, CopyableBuilder<Scte35SegmentationDescriptor.Builder,Scte35SegmentationDescriptor>
  • Method Details

    • deliveryRestrictions

      Scte35SegmentationDescriptor.Builder deliveryRestrictions(Scte35DeliveryRestrictions deliveryRestrictions)
      Holds the four SCTE-35 delivery restriction parameters.
      Parameters:
      deliveryRestrictions - Holds the four SCTE-35 delivery restriction parameters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deliveryRestrictions

      default Scte35SegmentationDescriptor.Builder deliveryRestrictions(Consumer<Scte35DeliveryRestrictions.Builder> deliveryRestrictions)
      Holds the four SCTE-35 delivery restriction parameters. This is a convenience method that creates an instance of the Scte35DeliveryRestrictions.Builder avoiding the need to create one manually via Scte35DeliveryRestrictions.builder().

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

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

      Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.
      Parameters:
      segmentNum - Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentationCancelIndicator

      Scte35SegmentationDescriptor.Builder segmentationCancelIndicator(String segmentationCancelIndicator)
      Corresponds to SCTE-35 segmentation_event_cancel_indicator.
      Parameters:
      segmentationCancelIndicator - Corresponds to SCTE-35 segmentation_event_cancel_indicator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentationCancelIndicator

      Scte35SegmentationDescriptor.Builder segmentationCancelIndicator(Scte35SegmentationCancelIndicator segmentationCancelIndicator)
      Corresponds to SCTE-35 segmentation_event_cancel_indicator.
      Parameters:
      segmentationCancelIndicator - Corresponds to SCTE-35 segmentation_event_cancel_indicator.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • segmentationDuration

      Scte35SegmentationDescriptor.Builder segmentationDuration(Long segmentationDuration)
      Corresponds to SCTE-35 segmentation_duration. Optional. The duration for the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter a duration, the time_signal will continue until you insert a cancellation message.
      Parameters:
      segmentationDuration - Corresponds to SCTE-35 segmentation_duration. Optional. The duration for the time_signal, in 90 KHz ticks. To convert seconds to ticks, multiple the seconds by 90,000. Enter time in 90 KHz clock ticks. If you do not enter a duration, the time_signal will continue until you insert a cancellation message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentationEventId

      Scte35SegmentationDescriptor.Builder segmentationEventId(Long segmentationEventId)
      Corresponds to SCTE-35 segmentation_event_id.
      Parameters:
      segmentationEventId - Corresponds to SCTE-35 segmentation_event_id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentationTypeId

      Scte35SegmentationDescriptor.Builder segmentationTypeId(Integer segmentationTypeId)
      Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id values listed in the SCTE-35 specification. On the console, enter the ID in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID in hex (for example, "0x34") or decimal (for example, "52").
      Parameters:
      segmentationTypeId - Corresponds to SCTE-35 segmentation_type_id. One of the segmentation_type_id values listed in the SCTE-35 specification. On the console, enter the ID in decimal (for example, "52"). In the CLI, API, or an SDK, enter the ID in hex (for example, "0x34") or decimal (for example, "52").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentationUpid

      Scte35SegmentationDescriptor.Builder segmentationUpid(String segmentationUpid)
      Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal representation of the characters that make up the SCTE-35 segmentation_upid value. Must contain an even number of hex characters. Do not include spaces between each hex pair. For example, the ASCII "ADS Information" becomes hex "41445320496e666f726d6174696f6e.
      Parameters:
      segmentationUpid - Corresponds to SCTE-35 segmentation_upid. Enter a string containing the hexadecimal representation of the characters that make up the SCTE-35 segmentation_upid value. Must contain an even number of hex characters. Do not include spaces between each hex pair. For example, the ASCII "ADS Information" becomes hex "41445320496e666f726d6174696f6e.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentationUpidType

      Scte35SegmentationDescriptor.Builder segmentationUpidType(Integer segmentationUpidType)
      Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one of the types listed in the SCTE-35 specification, converted to a decimal. For example, "0x0C" hex from the specification is "12" in decimal. In the CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, in either hex (for example, "0x0C" ) or in decimal (for example, "12").
      Parameters:
      segmentationUpidType - Corresponds to SCTE-35 segmentation_upid_type. On the console, enter one of the types listed in the SCTE-35 specification, converted to a decimal. For example, "0x0C" hex from the specification is "12" in decimal. In the CLI, API, or an SDK, enter one of the types listed in the SCTE-35 specification, in either hex (for example, "0x0C" ) or in decimal (for example, "12").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • segmentsExpected

      Scte35SegmentationDescriptor.Builder segmentsExpected(Integer segmentsExpected)
      Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.
      Parameters:
      segmentsExpected - Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subSegmentNum

      Scte35SegmentationDescriptor.Builder subSegmentNum(Integer subSegmentNum)
      Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.
      Parameters:
      subSegmentNum - Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subSegmentsExpected

      Scte35SegmentationDescriptor.Builder subSegmentsExpected(Integer subSegmentsExpected)
      Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.
      Parameters:
      subSegmentsExpected - Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.
      Returns:
      Returns a reference to this object so that method calls can be chained together.