@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationMetadata extends Object implements Serializable, Cloneable, StructuredPojo
A collection of data about the simulation.
| Constructor and Description |
|---|
SimulationMetadata() |
| Modifier and Type | Method and Description |
|---|---|
SimulationMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the simulation.
|
Date |
getCreationTime()
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the
Unix epoch (0:0:0.000, January 1, 1970).
|
String |
getName()
The name of the simulation.
|
String |
getStatus()
The current status of the simulation.
|
String |
getTargetStatus()
The desired status of the simulation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the simulation.
|
void |
setCreationTime(Date creationTime)
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the
Unix epoch (0:0:0.000, January 1, 1970).
|
void |
setName(String name)
The name of the simulation.
|
void |
setStatus(String status)
The current status of the simulation.
|
void |
setTargetStatus(String targetStatus)
The desired status of the simulation.
|
String |
toString()
Returns a string representation of this object.
|
SimulationMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the simulation.
|
SimulationMetadata |
withCreationTime(Date creationTime)
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the
Unix epoch (0:0:0.000, January 1, 1970).
|
SimulationMetadata |
withName(String name)
The name of the simulation.
|
SimulationMetadata |
withStatus(SimulationStatus status)
The current status of the simulation.
|
SimulationMetadata |
withStatus(String status)
The current status of the simulation.
|
SimulationMetadata |
withTargetStatus(SimulationTargetStatus targetStatus)
The desired status of the simulation.
|
SimulationMetadata |
withTargetStatus(String targetStatus)
The desired status of the simulation.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn - The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public String getArn()
The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
public SimulationMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn - The Amazon Resource Name (ARN) of the simulation. For more information about ARNs, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public void setCreationTime(Date creationTime)
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
creationTime - The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since
the Unix epoch (0:0:0.000, January 1, 1970).public Date getCreationTime()
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
public SimulationMetadata withCreationTime(Date creationTime)
The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since the Unix epoch (0:0:0.000, January 1, 1970).
creationTime - The time when the simulation was created, expressed as the number of seconds and milliseconds in UTC since
the Unix epoch (0:0:0.000, January 1, 1970).public void setName(String name)
The name of the simulation.
name - The name of the simulation.public String getName()
The name of the simulation.
public SimulationMetadata withName(String name)
The name of the simulation.
name - The name of the simulation.public void setStatus(String status)
The current status of the simulation.
status - The current status of the simulation.SimulationStatuspublic String getStatus()
The current status of the simulation.
SimulationStatuspublic SimulationMetadata withStatus(String status)
The current status of the simulation.
status - The current status of the simulation.SimulationStatuspublic SimulationMetadata withStatus(SimulationStatus status)
The current status of the simulation.
status - The current status of the simulation.SimulationStatuspublic void setTargetStatus(String targetStatus)
The desired status of the simulation.
targetStatus - The desired status of the simulation.SimulationTargetStatuspublic String getTargetStatus()
The desired status of the simulation.
SimulationTargetStatuspublic SimulationMetadata withTargetStatus(String targetStatus)
The desired status of the simulation.
targetStatus - The desired status of the simulation.SimulationTargetStatuspublic SimulationMetadata withTargetStatus(SimulationTargetStatus targetStatus)
The desired status of the simulation.
targetStatus - The desired status of the simulation.SimulationTargetStatuspublic String toString()
toString in class ObjectObject.toString()public SimulationMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.