Class Transition
- java.lang.Object
-
- software.amazon.awssdk.services.mediatailor.model.Transition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Transition.Builder,Transition>
@Generated("software.amazon.awssdk:codegen") public final class Transition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Transition.Builder,Transition>
Program transition configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTransition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Transition.Builderbuilder()LongdurationMillis()The duration of the live program in seconds.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()RelativePositionrelativePosition()The position where this program will be inserted relative to theRelativePosition.StringrelativePositionAsString()The position where this program will be inserted relative to theRelativePosition.StringrelativeProgram()The name of the program that this program will be inserted next to, as defined byRelativePosition.LongscheduledStartTimeMillis()The date and time that the program is scheduled to start, in epoch milliseconds.List<SdkField<?>>sdkFields()static Class<? extends Transition.Builder>serializableBuilderClass()Transition.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()Defines when the program plays in the schedule.-
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
-
durationMillis
public final Long durationMillis()
The duration of the live program in seconds.
- Returns:
- The duration of the live program in seconds.
-
relativePosition
public final RelativePosition relativePosition()
The position where this program will be inserted relative to the
RelativePosition.If the service returns an enum value that is not available in the current SDK version,
relativePositionwill returnRelativePosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelativePositionAsString().- Returns:
- The position where this program will be inserted relative to the
RelativePosition. - See Also:
RelativePosition
-
relativePositionAsString
public final String relativePositionAsString()
The position where this program will be inserted relative to the
RelativePosition.If the service returns an enum value that is not available in the current SDK version,
relativePositionwill returnRelativePosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrelativePositionAsString().- Returns:
- The position where this program will be inserted relative to the
RelativePosition. - See Also:
RelativePosition
-
relativeProgram
public final String relativeProgram()
The name of the program that this program will be inserted next to, as defined by
RelativePosition.- Returns:
- The name of the program that this program will be inserted next to, as defined by
RelativePosition.
-
scheduledStartTimeMillis
public final Long scheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
- Returns:
- The date and time that the program is scheduled to start, in epoch milliseconds.
-
type
public final String type()
Defines when the program plays in the schedule. You can set the value to
ABSOLUTEorRELATIVE.ABSOLUTE- The program plays at a specific wall clock time. This setting can only be used for channels using theLINEARPlaybackMode.Note the following considerations when using
ABSOLUTEtransitions:If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.
If there are gaps in playback, MediaTailor plays the
FillerSlateyou configured for your linear channel.RELATIVE- The program is inserted into the schedule either before or after a program that you specify viaRelativePosition.- Returns:
- Defines when the program plays in the schedule. You can set the value to
ABSOLUTEorRELATIVE.ABSOLUTE- The program plays at a specific wall clock time. This setting can only be used for channels using theLINEARPlaybackMode.Note the following considerations when using
ABSOLUTEtransitions:If the preceding program in the schedule has a duration that extends past the wall clock time, MediaTailor truncates the preceding program on a common segment boundary.
If there are gaps in playback, MediaTailor plays the
FillerSlateyou configured for your linear channel.RELATIVE- The program is inserted into the schedule either before or after a program that you specify viaRelativePosition.
-
toBuilder
public Transition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Transition.Builder,Transition>
-
builder
public static Transition.Builder builder()
-
serializableBuilderClass
public static Class<? extends Transition.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.
-
-