Class Scte35SegmentationDescriptor

    • Method Detail

      • deliveryRestrictions

        public final Scte35DeliveryRestrictions deliveryRestrictions()
        Holds the four SCTE-35 delivery restriction parameters.
        Returns:
        Holds the four SCTE-35 delivery restriction parameters.
      • segmentNum

        public final Integer segmentNum()
        Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.
        Returns:
        Corresponds to SCTE-35 segment_num. A value that is valid for the specified segmentation_type_id.
      • segmentationDuration

        public final 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.
        Returns:
        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.
      • segmentationEventId

        public final Long segmentationEventId()
        Corresponds to SCTE-35 segmentation_event_id.
        Returns:
        Corresponds to SCTE-35 segmentation_event_id.
      • segmentationTypeId

        public final 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").
        Returns:
        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").
      • segmentationUpid

        public final 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.
        Returns:
        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.
      • segmentationUpidType

        public final 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").
        Returns:
        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").
      • segmentsExpected

        public final Integer segmentsExpected()
        Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.
        Returns:
        Corresponds to SCTE-35 segments_expected. A value that is valid for the specified segmentation_type_id.
      • subSegmentNum

        public final Integer subSegmentNum()
        Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.
        Returns:
        Corresponds to SCTE-35 sub_segment_num. A value that is valid for the specified segmentation_type_id.
      • subSegmentsExpected

        public final Integer subSegmentsExpected()
        Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.
        Returns:
        Corresponds to SCTE-35 sub_segments_expected. A value that is valid for the specified segmentation_type_id.
      • 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)