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 booleanfinal booleanequalsBySdkFields(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 inthashCode()final IntegerThe Event Identifier to assign to thesegmentation_descriptor.segmentation_event_idmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final IntegerThe Type Identifier to assign to thesegmentation_descriptor.segmentation_type_idmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final StringThe Upid to assign to thesegmentation_descriptor.segmentation_upidmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final IntegerThe Upid Type to assign to thesegmentation_descriptor.segmentation_upid_typemessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final IntegerThe segment number to assign to thesegmentation_descriptor.segment_nummessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification Values must be between 0 and 256, inclusive.final IntegerThe number of segments expected, which is assigned to thesegmentation_descriptor.segments_expectedSmessage, 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 IntegerThe sub-segment number to assign to thesegmentation_descriptor.sub_segment_nummessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.final IntegerThe number of sub-segments expected, which is assigned to thesegmentation_descriptor.sub_segments_expectedmessage, 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 StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
- 
Method Details
- 
segmentationEventId
The Event Identifier to assign to the
segmentation_descriptor.segmentation_event_idmessage, 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_idmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification. The default value is 1. 
 - 
segmentationUpidType
The Upid Type to assign to the
segmentation_descriptor.segmentation_upid_typemessage, 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_typemessage, 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. 
 - 
segmentationUpid
The Upid to assign to the
segmentation_descriptor.segmentation_upidmessage, 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_upidmessage, 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). 
 - 
segmentationTypeId
The Type Identifier to assign to the
segmentation_descriptor.segmentation_type_idmessage, 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_idmessage, 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. 
 - 
segmentNum
The segment number to assign to the
segmentation_descriptor.segment_nummessage, 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_nummessage, 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. 
 - 
segmentsExpected
The number of segments expected, which is assigned to the
segmentation_descriptor.segments_expectedSmessage, 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_expectedSmessage, 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_nummessage, 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_nummessage, 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_expectedmessage, 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_expectedmessage, 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
 toBuilderin interfaceToCopyableBuilder<SegmentationDescriptor.Builder,SegmentationDescriptor> - Returns:
 - a builder for type T
 
 - 
builder
 - 
serializableBuilderClass
 - 
hashCode
 - 
equals
 - 
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
 equalsBySdkFieldsin 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
 - 
sdkFieldNameToField
- Specified by:
 sdkFieldNameToFieldin interfaceSdkPojo- Returns:
 - The mapping between the field name and its corresponding field.
 
 
 -