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 Summary
Modifier and TypeMethodDescriptiondeliveryRestrictions
(Consumer<Scte35DeliveryRestrictions.Builder> deliveryRestrictions) Holds the four SCTE-35 delivery restriction parameters.deliveryRestrictions
(Scte35DeliveryRestrictions deliveryRestrictions) Holds the four SCTE-35 delivery restriction parameters.segmentationCancelIndicator
(String segmentationCancelIndicator) Corresponds to SCTE-35 segmentation_event_cancel_indicator.segmentationCancelIndicator
(Scte35SegmentationCancelIndicator segmentationCancelIndicator) Corresponds to SCTE-35 segmentation_event_cancel_indicator.segmentationDuration
(Long segmentationDuration) Corresponds to SCTE-35 segmentation_duration.segmentationEventId
(Long segmentationEventId) Corresponds to SCTE-35 segmentation_event_id.segmentationTypeId
(Integer segmentationTypeId) Corresponds to SCTE-35 segmentation_type_id.segmentationUpid
(String segmentationUpid) Corresponds to SCTE-35 segmentation_upid.segmentationUpidType
(Integer segmentationUpidType) Corresponds to SCTE-35 segmentation_upid_type.segmentNum
(Integer segmentNum) Corresponds to SCTE-35 segment_num.segmentsExpected
(Integer segmentsExpected) Corresponds to SCTE-35 segments_expected.subSegmentNum
(Integer subSegmentNum) Corresponds to SCTE-35 sub_segment_num.subSegmentsExpected
(Integer subSegmentsExpected) Corresponds to SCTE-35 sub_segments_expected.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
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 theScte35DeliveryRestrictions.Builder
avoiding the need to create one manually viaScte35DeliveryRestrictions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeliveryRestrictions(Scte35DeliveryRestrictions)
.- Parameters:
deliveryRestrictions
- a consumer that will call methods onScte35DeliveryRestrictions.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
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
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
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
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
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
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
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
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.
-