@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Transition extends Object implements Serializable, Cloneable, StructuredPojo
Program transition configuration.
Constructor and Description |
---|
Transition() |
Modifier and Type | Method and Description |
---|---|
Transition |
clone() |
boolean |
equals(Object obj) |
Long |
getDurationMillis()
The duration of the live program in seconds.
|
String |
getRelativePosition()
The position where this program will be inserted relative to the
RelativePosition . |
String |
getRelativeProgram()
The name of the program that this program will be inserted next to, as defined by
RelativePosition . |
Long |
getScheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
|
String |
getType()
Defines when the program plays in the schedule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDurationMillis(Long durationMillis)
The duration of the live program in seconds.
|
void |
setRelativePosition(String relativePosition)
The position where this program will be inserted relative to the
RelativePosition . |
void |
setRelativeProgram(String relativeProgram)
The name of the program that this program will be inserted next to, as defined by
RelativePosition . |
void |
setScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
|
void |
setType(String type)
Defines when the program plays in the schedule.
|
String |
toString()
Returns a string representation of this object.
|
Transition |
withDurationMillis(Long durationMillis)
The duration of the live program in seconds.
|
Transition |
withRelativePosition(RelativePosition relativePosition)
The position where this program will be inserted relative to the
RelativePosition . |
Transition |
withRelativePosition(String relativePosition)
The position where this program will be inserted relative to the
RelativePosition . |
Transition |
withRelativeProgram(String relativeProgram)
The name of the program that this program will be inserted next to, as defined by
RelativePosition . |
Transition |
withScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
|
Transition |
withType(String type)
Defines when the program plays in the schedule.
|
public void setDurationMillis(Long durationMillis)
The duration of the live program in seconds.
durationMillis
- The duration of the live program in seconds.public Long getDurationMillis()
The duration of the live program in seconds.
public Transition withDurationMillis(Long durationMillis)
The duration of the live program in seconds.
durationMillis
- The duration of the live program in seconds.public void setRelativePosition(String relativePosition)
The position where this program will be inserted relative to the RelativePosition
.
relativePosition
- The position where this program will be inserted relative to the RelativePosition
.RelativePosition
public String getRelativePosition()
The position where this program will be inserted relative to the RelativePosition
.
RelativePosition
.RelativePosition
public Transition withRelativePosition(String relativePosition)
The position where this program will be inserted relative to the RelativePosition
.
relativePosition
- The position where this program will be inserted relative to the RelativePosition
.RelativePosition
public Transition withRelativePosition(RelativePosition relativePosition)
The position where this program will be inserted relative to the RelativePosition
.
relativePosition
- The position where this program will be inserted relative to the RelativePosition
.RelativePosition
public void setRelativeProgram(String relativeProgram)
The name of the program that this program will be inserted next to, as defined by RelativePosition
.
relativeProgram
- The name of the program that this program will be inserted next to, as defined by
RelativePosition
.public String getRelativeProgram()
The name of the program that this program will be inserted next to, as defined by RelativePosition
.
RelativePosition
.public Transition withRelativeProgram(String relativeProgram)
The name of the program that this program will be inserted next to, as defined by RelativePosition
.
relativeProgram
- The name of the program that this program will be inserted next to, as defined by
RelativePosition
.public void setScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
scheduledStartTimeMillis
- The date and time that the program is scheduled to start, in epoch milliseconds.public Long getScheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
public Transition withScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
scheduledStartTimeMillis
- The date and time that the program is scheduled to start, in epoch milliseconds.public void setType(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
.
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
.
public String getType()
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
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
.
public Transition withType(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
.
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
.
public String toString()
toString
in class Object
Object.toString()
public Transition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.