@Generated(value="software.amazon.awssdk:codegen") public final class Transition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Transition.Builder,Transition>
Program transition configuration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Transition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Transition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
RelativePosition |
relativePosition()
The position where this program will be inserted relative to the RelativePosition.
|
String |
relativePositionAsString()
The position where this program will be inserted relative to the RelativePosition.
|
String |
relativeProgram()
The name of the program that this program will be inserted next to, as defined by RelativePosition.
|
Long |
scheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Transition.Builder> |
serializableBuilderClass() |
Transition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
Defines when the program plays in the schedule.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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, relativePosition
will return RelativePosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from relativePositionAsString().
RelativePositionpublic 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, relativePosition
will return RelativePosition.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from relativePositionAsString().
RelativePositionpublic final String relativeProgram()
The name of the program that this program will be inserted next to, as defined by RelativePosition.
public final Long scheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
public final String type()
Defines when the program plays in the schedule. You can set the value to ABSOLUTE or RELATIVE.
ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.
Note the following considerations when using ABSOLUTE transitions:
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 FillerSlate you configured for your linear channel.
RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.
ABSOLUTE - The program plays at a specific wall clock time. This setting can only be used for channels using the LINEAR PlaybackMode.
Note the following considerations when using ABSOLUTE transitions:
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 FillerSlate you configured for your linear channel.
RELATIVE - The program is inserted into the schedule either before or after a program that you specify via RelativePosition.
public Transition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Transition.Builder,Transition>public static Transition.Builder builder()
public static Class<? extends Transition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.