@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LiveSimulationState extends Object implements Serializable, Cloneable, StructuredPojo
A collection of additional state information, such as domain and clock configuration.
Constructor and Description |
---|
LiveSimulationState() |
Modifier and Type | Method and Description |
---|---|
LiveSimulationState |
clone() |
boolean |
equals(Object obj) |
List<SimulationClock> |
getClocks()
A list of simulation clocks.
|
List<Domain> |
getDomains()
A list of domains for the simulation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClocks(Collection<SimulationClock> clocks)
A list of simulation clocks.
|
void |
setDomains(Collection<Domain> domains)
A list of domains for the simulation.
|
String |
toString()
Returns a string representation of this object.
|
LiveSimulationState |
withClocks(Collection<SimulationClock> clocks)
A list of simulation clocks.
|
LiveSimulationState |
withClocks(SimulationClock... clocks)
A list of simulation clocks.
|
LiveSimulationState |
withDomains(Collection<Domain> domains)
A list of domains for the simulation.
|
LiveSimulationState |
withDomains(Domain... domains)
A list of domains for the simulation.
|
public List<SimulationClock> getClocks()
A list of simulation clocks.
At this time, a simulation has only one clock.
At this time, a simulation has only one clock.
public void setClocks(Collection<SimulationClock> clocks)
A list of simulation clocks.
At this time, a simulation has only one clock.
clocks
- A list of simulation clocks. At this time, a simulation has only one clock.
public LiveSimulationState withClocks(SimulationClock... clocks)
A list of simulation clocks.
At this time, a simulation has only one clock.
NOTE: This method appends the values to the existing list (if any). Use
setClocks(java.util.Collection)
or withClocks(java.util.Collection)
if you want to override the
existing values.
clocks
- A list of simulation clocks. At this time, a simulation has only one clock.
public LiveSimulationState withClocks(Collection<SimulationClock> clocks)
A list of simulation clocks.
At this time, a simulation has only one clock.
clocks
- A list of simulation clocks. At this time, a simulation has only one clock.
public List<Domain> getDomains()
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
public void setDomains(Collection<Domain> domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
domains
- A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.public LiveSimulationState withDomains(Domain... domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setDomains(java.util.Collection)
or withDomains(java.util.Collection)
if you want to override
the existing values.
domains
- A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.public LiveSimulationState withDomains(Collection<Domain> domains)
A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.
domains
- A list of domains for the simulation. For more information about domains, see Key concepts: Domains in the SimSpace Weaver User Guide.public String toString()
toString
in class Object
Object.toString()
public LiveSimulationState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.