Class TimeSignalMessage
- java.lang.Object
-
- software.amazon.awssdk.services.mediatailor.model.TimeSignalMessage
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TimeSignalMessage.Builder,TimeSignalMessage>
@Generated("software.amazon.awssdk:codegen") public final class TimeSignalMessage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TimeSignalMessage.Builder,TimeSignalMessage>
The SCTE-35
time_signalmessage can be sent with one or moresegmentation_descriptormessages. Atime_signalmessage can be sent only if a singlesegmentation_descriptormessage is sent.The
time_signalmessage contains only thesplice_timefield which is constructed using a given presentation timestamp. When sending atime_signalmessage, thesplice_command_typefield in thesplice_info_sectionmessage is set to 6 (0x06).See the
time_signal()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 interfaceTimeSignalMessage.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TimeSignalMessage.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasSegmentationDescriptors()For responses, this returns true if the service returned a value for the SegmentationDescriptors property.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<SegmentationDescriptor>segmentationDescriptors()The configurations for the SCTE-35segmentation_descriptormessage(s) sent with thetime_signalmessage.static Class<? extends TimeSignalMessage.Builder>serializableBuilderClass()TimeSignalMessage.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
-
hasSegmentationDescriptors
public final boolean hasSegmentationDescriptors()
For responses, this returns true if the service returned a value for the SegmentationDescriptors property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
segmentationDescriptors
public final List<SegmentationDescriptor> segmentationDescriptors()
The configurations for the SCTE-35
segmentation_descriptormessage(s) sent with thetime_signalmessage.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSegmentationDescriptors()method.- Returns:
- The configurations for the SCTE-35
segmentation_descriptormessage(s) sent with thetime_signalmessage.
-
toBuilder
public TimeSignalMessage.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TimeSignalMessage.Builder,TimeSignalMessage>
-
builder
public static TimeSignalMessage.Builder builder()
-
serializableBuilderClass
public static Class<? extends TimeSignalMessage.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
-
-