@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProgramTransition extends Object implements Serializable, Cloneable, StructuredPojo
Program transition configuration.
Constructor and Description |
---|
UpdateProgramTransition() |
Modifier and Type | Method and Description |
---|---|
UpdateProgramTransition |
clone() |
boolean |
equals(Object obj) |
Long |
getDurationMillis()
The duration of the live program in seconds.
|
Long |
getScheduledStartTimeMillis()
The date and time that the program is scheduled to start, in epoch milliseconds.
|
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 |
setScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProgramTransition |
withDurationMillis(Long durationMillis)
The duration of the live program in seconds.
|
UpdateProgramTransition |
withScheduledStartTimeMillis(Long scheduledStartTimeMillis)
The date and time that the program is scheduled to start, in epoch milliseconds.
|
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 UpdateProgramTransition withDurationMillis(Long durationMillis)
The duration of the live program in seconds.
durationMillis
- The duration of the live program in seconds.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 UpdateProgramTransition 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 String toString()
toString
in class Object
Object.toString()
public UpdateProgramTransition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.