Class SegmentationDescriptor
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SegmentationDescriptor.Builder,
SegmentationDescriptor>
The segmentation_descriptor
message can contain advanced metadata fields, like content identifiers, to
convey a wide range of information about the ad break. MediaTailor writes the ad metadata in the egress manifest as
part of the EXT-X-DATERANGE
or EventStream
ad marker's SCTE-35 data.
segmentation_descriptor
messages must be sent with the time_signal
message type.
See the segmentation_descriptor()
table of the 2022 SCTE-35 specification for more information.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Integer
The Event Identifier to assign to thesegmentation_descriptor.segmentation_event_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final Integer
The Type Identifier to assign to thesegmentation_descriptor.segmentation_type_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final String
The Upid to assign to thesegmentation_descriptor.segmentation_upid
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final Integer
The Upid Type to assign to thesegmentation_descriptor.segmentation_upid_type
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final Integer
The segment number to assign to thesegmentation_descriptor.segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive.final Integer
The number of segments expected, which is assigned to thesegmentation_descriptor.segments_expectedS
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive.static Class
<? extends SegmentationDescriptor.Builder> final Integer
The sub-segment number to assign to thesegmentation_descriptor.sub_segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final Integer
The number of sub-segments expected, which is assigned to thesegmentation_descriptor.sub_segments_expected
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
segmentNum
The segment number to assign to the
segmentation_descriptor.segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.- Returns:
- The segment number to assign to the
segmentation_descriptor.segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.
-
segmentationEventId
The Event Identifier to assign to the
segmentation_descriptor.segmentation_event_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.- Returns:
- The Event Identifier to assign to the
segmentation_descriptor.segmentation_event_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1.
-
segmentationTypeId
The Type Identifier to assign to the
segmentation_descriptor.segmentation_type_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.- Returns:
- The Type Identifier to assign to the
segmentation_descriptor.segmentation_type_id
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 48.
-
segmentationUpid
The Upid to assign to the
segmentation_descriptor.segmentation_upid
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).- Returns:
- The Upid to assign to the
segmentation_descriptor.segmentation_upid
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The value must be a hexadecimal string containing only the characters 0 though 9 and A through F. The default value is "" (an empty string).
-
segmentationUpidType
The Upid Type to assign to the
segmentation_descriptor.segmentation_upid_type
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.- Returns:
- The Upid Type to assign to the
segmentation_descriptor.segmentation_upid_type
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is 14.
-
segmentsExpected
The number of segments expected, which is assigned to the
segmentation_descriptor.segments_expectedS
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.- Returns:
- The number of segments expected, which is assigned to the
segmentation_descriptor.segments_expectedS
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive. The default value is 0.
-
subSegmentNum
The sub-segment number to assign to the
segmentation_descriptor.sub_segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.- Returns:
- The sub-segment number to assign to the
segmentation_descriptor.sub_segment_num
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The defualt value is null.
-
subSegmentsExpected
The number of sub-segments expected, which is assigned to the
segmentation_descriptor.sub_segments_expected
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.- Returns:
- The number of sub-segments expected, which is assigned to the
segmentation_descriptor.sub_segments_expected
message, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. Values must be between 0 and 256, inclusive. The default value is null.
-
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 interfaceToCopyableBuilder<SegmentationDescriptor.Builder,
SegmentationDescriptor> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-