Class SegmentationDescriptor
- java.lang.Object
-
- software.amazon.awssdk.services.mediatailor.model.SegmentationDescriptor
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SegmentationDescriptor.Builder,SegmentationDescriptor>
@Generated("software.amazon.awssdk:codegen") public final class SegmentationDescriptor extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SegmentationDescriptor.Builder,SegmentationDescriptor>
The
segmentation_descriptormessage 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 theEXT-X-DATERANGEorEventStreamad marker's SCTE-35 data.segmentation_descriptormessages must be sent with thetime_signalmessage type.See the
segmentation_descriptor()table of the 2022 SCTE-35 specification for more information.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSegmentationDescriptor.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SegmentationDescriptor.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()IntegersegmentationEventId()The Event Identifier to assign to thesegmentation_descriptor.segmentation_event_idmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.IntegersegmentationTypeId()The Type Identifier to assign to thesegmentation_descriptor.segmentation_type_idmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.StringsegmentationUpid()The Upid to assign to thesegmentation_descriptor.segmentation_upidmessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.IntegersegmentationUpidType()The Upid Type to assign to thesegmentation_descriptor.segmentation_upid_typemessage, as defined in section 10.3.3.1 of the 2022 SCTE-35 specification.IntegersegmentNum()The 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.IntegersegmentsExpected()The 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>serializableBuilderClass()IntegersubSegmentNum()The 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.IntegersubSegmentsExpected()The 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.SegmentationDescriptor.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
segmentationEventId
public final Integer 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
public final Integer 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
public final String 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
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public final Integer 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
public SegmentationDescriptor.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SegmentationDescriptor.Builder,SegmentationDescriptor>
-
builder
public static SegmentationDescriptor.Builder builder()
-
serializableBuilderClass
public static Class<? extends SegmentationDescriptor.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-