@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationClock extends Object implements Serializable, Cloneable, StructuredPojo
Status information about the simulation clock.
Constructor and Description |
---|
SimulationClock() |
Modifier and Type | Method and Description |
---|---|
SimulationClock |
clone() |
boolean |
equals(Object obj) |
String |
getStatus()
The current status of the simulation clock.
|
String |
getTargetStatus()
The desired status of the simulation clock.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setStatus(String status)
The current status of the simulation clock.
|
void |
setTargetStatus(String targetStatus)
The desired status of the simulation clock.
|
String |
toString()
Returns a string representation of this object.
|
SimulationClock |
withStatus(ClockStatus status)
The current status of the simulation clock.
|
SimulationClock |
withStatus(String status)
The current status of the simulation clock.
|
SimulationClock |
withTargetStatus(ClockTargetStatus targetStatus)
The desired status of the simulation clock.
|
SimulationClock |
withTargetStatus(String targetStatus)
The desired status of the simulation clock.
|
public void setStatus(String status)
The current status of the simulation clock.
status
- The current status of the simulation clock.ClockStatus
public String getStatus()
The current status of the simulation clock.
ClockStatus
public SimulationClock withStatus(String status)
The current status of the simulation clock.
status
- The current status of the simulation clock.ClockStatus
public SimulationClock withStatus(ClockStatus status)
The current status of the simulation clock.
status
- The current status of the simulation clock.ClockStatus
public void setTargetStatus(String targetStatus)
The desired status of the simulation clock.
targetStatus
- The desired status of the simulation clock.ClockTargetStatus
public String getTargetStatus()
The desired status of the simulation clock.
ClockTargetStatus
public SimulationClock withTargetStatus(String targetStatus)
The desired status of the simulation clock.
targetStatus
- The desired status of the simulation clock.ClockTargetStatus
public SimulationClock withTargetStatus(ClockTargetStatus targetStatus)
The desired status of the simulation clock.
targetStatus
- The desired status of the simulation clock.ClockTargetStatus
public String toString()
toString
in class Object
Object.toString()
public SimulationClock clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.