@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationJob extends Object implements Serializable, Cloneable, StructuredPojo
Information about a simulation job.
Constructor and Description |
---|
SimulationJob() |
Modifier and Type | Method and Description |
---|---|
SimulationJob |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SimulationJob |
clearTagsEntries()
Removes all the entries added into Tags.
|
SimulationJob |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the simulation job.
|
String |
getClientRequestToken()
A unique identifier for this
SimulationJob request. |
ComputeResponse |
getCompute()
Compute information for the simulation job
|
List<DataSource> |
getDataSources()
The data sources for the simulation job.
|
String |
getFailureBehavior()
The failure behavior the simulation job.
|
String |
getFailureCode()
The failure code of the simulation job if it failed.
|
String |
getFailureReason()
The reason why the simulation job failed.
|
String |
getIamRole()
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
Date |
getLastStartedAt()
The time, in milliseconds since the epoch, when the simulation job was last started.
|
Date |
getLastUpdatedAt()
The time, in milliseconds since the epoch, when the simulation job was last updated.
|
LoggingConfig |
getLoggingConfig()
The logging configuration.
|
Long |
getMaxJobDurationInSeconds()
The maximum simulation job duration in seconds.
|
String |
getName()
The name of the simulation job.
|
NetworkInterface |
getNetworkInterface()
Information about a network interface.
|
OutputLocation |
getOutputLocation()
Location for output files generated by the simulation job.
|
List<RobotApplicationConfig> |
getRobotApplications()
A list of robot applications.
|
List<SimulationApplicationConfig> |
getSimulationApplications()
A list of simulation applications.
|
Long |
getSimulationTimeMillis()
The simulation job execution duration in milliseconds.
|
String |
getStatus()
Status of the simulation job.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to the simulation job.
|
VPCConfigResponse |
getVpcConfig()
VPC configuration information.
|
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 job.
|
void |
setClientRequestToken(String clientRequestToken)
A unique identifier for this
SimulationJob request. |
void |
setCompute(ComputeResponse compute)
Compute information for the simulation job
|
void |
setDataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
|
void |
setFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
void |
setFailureCode(String failureCode)
The failure code of the simulation job if it failed.
|
void |
setFailureReason(String failureReason)
The reason why the simulation job failed.
|
void |
setIamRole(String iamRole)
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
void |
setLastStartedAt(Date lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
|
void |
setLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
|
void |
setMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds.
|
void |
setName(String name)
The name of the simulation job.
|
void |
setNetworkInterface(NetworkInterface networkInterface)
Information about a network interface.
|
void |
setOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
|
void |
setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
|
void |
setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
|
void |
setSimulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
|
void |
setStatus(String status)
Status of the simulation job.
|
void |
setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
|
void |
setVpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
|
String |
toString()
Returns a string representation of this object.
|
SimulationJob |
withArn(String arn)
The Amazon Resource Name (ARN) of the simulation job.
|
SimulationJob |
withClientRequestToken(String clientRequestToken)
A unique identifier for this
SimulationJob request. |
SimulationJob |
withCompute(ComputeResponse compute)
Compute information for the simulation job
|
SimulationJob |
withDataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
|
SimulationJob |
withDataSources(DataSource... dataSources)
The data sources for the simulation job.
|
SimulationJob |
withFailureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
|
SimulationJob |
withFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
SimulationJob |
withFailureCode(SimulationJobErrorCode failureCode)
The failure code of the simulation job if it failed.
|
SimulationJob |
withFailureCode(String failureCode)
The failure code of the simulation job if it failed.
|
SimulationJob |
withFailureReason(String failureReason)
The reason why the simulation job failed.
|
SimulationJob |
withIamRole(String iamRole)
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
SimulationJob |
withLastStartedAt(Date lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
|
SimulationJob |
withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
|
SimulationJob |
withLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
|
SimulationJob |
withMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds.
|
SimulationJob |
withName(String name)
The name of the simulation job.
|
SimulationJob |
withNetworkInterface(NetworkInterface networkInterface)
Information about a network interface.
|
SimulationJob |
withOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
|
SimulationJob |
withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
|
SimulationJob |
withRobotApplications(RobotApplicationConfig... robotApplications)
A list of robot applications.
|
SimulationJob |
withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
|
SimulationJob |
withSimulationApplications(SimulationApplicationConfig... simulationApplications)
A list of simulation applications.
|
SimulationJob |
withSimulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
|
SimulationJob |
withStatus(SimulationJobStatus status)
Status of the simulation job.
|
SimulationJob |
withStatus(String status)
Status of the simulation job.
|
SimulationJob |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
|
SimulationJob |
withVpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the simulation job.
arn
- The Amazon Resource Name (ARN) of the simulation job.public String getArn()
The Amazon Resource Name (ARN) of the simulation job.
public SimulationJob withArn(String arn)
The Amazon Resource Name (ARN) of the simulation job.
arn
- The Amazon Resource Name (ARN) of the simulation job.public void setName(String name)
The name of the simulation job.
name
- The name of the simulation job.public String getName()
The name of the simulation job.
public SimulationJob withName(String name)
The name of the simulation job.
name
- The name of the simulation job.public void setStatus(String status)
Status of the simulation job.
status
- Status of the simulation job.SimulationJobStatus
public String getStatus()
Status of the simulation job.
SimulationJobStatus
public SimulationJob withStatus(String status)
Status of the simulation job.
status
- Status of the simulation job.SimulationJobStatus
public SimulationJob withStatus(SimulationJobStatus status)
Status of the simulation job.
status
- Status of the simulation job.SimulationJobStatus
public void setLastStartedAt(Date lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
lastStartedAt
- The time, in milliseconds since the epoch, when the simulation job was last started.public Date getLastStartedAt()
The time, in milliseconds since the epoch, when the simulation job was last started.
public SimulationJob withLastStartedAt(Date lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
lastStartedAt
- The time, in milliseconds since the epoch, when the simulation job was last started.public void setLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job was last updated.public Date getLastUpdatedAt()
The time, in milliseconds since the epoch, when the simulation job was last updated.
public SimulationJob withLastUpdatedAt(Date lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job was last updated.public void setFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
failureBehavior
- The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public String getFailureBehavior()
The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public SimulationJob withFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
failureBehavior
- The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public SimulationJob withFailureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
failureBehavior
- The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public void setFailureCode(String failureCode)
The failure code of the simulation job if it failed.
failureCode
- The failure code of the simulation job if it failed.SimulationJobErrorCode
public String getFailureCode()
The failure code of the simulation job if it failed.
SimulationJobErrorCode
public SimulationJob withFailureCode(String failureCode)
The failure code of the simulation job if it failed.
failureCode
- The failure code of the simulation job if it failed.SimulationJobErrorCode
public SimulationJob withFailureCode(SimulationJobErrorCode failureCode)
The failure code of the simulation job if it failed.
failureCode
- The failure code of the simulation job if it failed.SimulationJobErrorCode
public void setFailureReason(String failureReason)
The reason why the simulation job failed.
failureReason
- The reason why the simulation job failed.public String getFailureReason()
The reason why the simulation job failed.
public SimulationJob withFailureReason(String failureReason)
The reason why the simulation job failed.
failureReason
- The reason why the simulation job failed.public void setClientRequestToken(String clientRequestToken)
A unique identifier for this SimulationJob
request.
clientRequestToken
- A unique identifier for this SimulationJob
request.public String getClientRequestToken()
A unique identifier for this SimulationJob
request.
SimulationJob
request.public SimulationJob withClientRequestToken(String clientRequestToken)
A unique identifier for this SimulationJob
request.
clientRequestToken
- A unique identifier for this SimulationJob
request.public void setOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
outputLocation
- Location for output files generated by the simulation job.public OutputLocation getOutputLocation()
Location for output files generated by the simulation job.
public SimulationJob withOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
outputLocation
- Location for output files generated by the simulation job.public void setLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
loggingConfig
- The logging configuration.public LoggingConfig getLoggingConfig()
The logging configuration.
public SimulationJob withLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
loggingConfig
- The logging configuration.public void setMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
maxJobDurationInSeconds
- The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.public Long getMaxJobDurationInSeconds()
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
public SimulationJob withMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
maxJobDurationInSeconds
- The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.public void setSimulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
simulationTimeMillis
- The simulation job execution duration in milliseconds.public Long getSimulationTimeMillis()
The simulation job execution duration in milliseconds.
public SimulationJob withSimulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
simulationTimeMillis
- The simulation job execution duration in milliseconds.public void setIamRole(String iamRole)
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.
iamRole
- The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf. This is how credentials are passed in to your simulation job.public String getIamRole()
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.
public SimulationJob withIamRole(String iamRole)
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf. This is how credentials are passed in to your simulation job.
iamRole
- The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf. This is how credentials are passed in to your simulation job.public List<RobotApplicationConfig> getRobotApplications()
A list of robot applications.
public void setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
robotApplications
- A list of robot applications.public SimulationJob withRobotApplications(RobotApplicationConfig... robotApplications)
A list of robot applications.
NOTE: This method appends the values to the existing list (if any). Use
setRobotApplications(java.util.Collection)
or withRobotApplications(java.util.Collection)
if
you want to override the existing values.
robotApplications
- A list of robot applications.public SimulationJob withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
robotApplications
- A list of robot applications.public List<SimulationApplicationConfig> getSimulationApplications()
A list of simulation applications.
public void setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
simulationApplications
- A list of simulation applications.public SimulationJob withSimulationApplications(SimulationApplicationConfig... simulationApplications)
A list of simulation applications.
NOTE: This method appends the values to the existing list (if any). Use
setSimulationApplications(java.util.Collection)
or
withSimulationApplications(java.util.Collection)
if you want to override the existing values.
simulationApplications
- A list of simulation applications.public SimulationJob withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
simulationApplications
- A list of simulation applications.public List<DataSource> getDataSources()
The data sources for the simulation job.
public void setDataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
dataSources
- The data sources for the simulation job.public SimulationJob withDataSources(DataSource... dataSources)
The data sources for the simulation job.
NOTE: This method appends the values to the existing list (if any). Use
setDataSources(java.util.Collection)
or withDataSources(java.util.Collection)
if you want to
override the existing values.
dataSources
- The data sources for the simulation job.public SimulationJob withDataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
dataSources
- The data sources for the simulation job.public Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to the simulation job.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
tags
- A map that contains tag keys and tag values that are attached to the simulation job.public SimulationJob withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
tags
- A map that contains tag keys and tag values that are attached to the simulation job.public SimulationJob addTagsEntry(String key, String value)
public SimulationJob clearTagsEntries()
public void setVpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
vpcConfig
- VPC configuration information.public VPCConfigResponse getVpcConfig()
VPC configuration information.
public SimulationJob withVpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
vpcConfig
- VPC configuration information.public void setNetworkInterface(NetworkInterface networkInterface)
Information about a network interface.
networkInterface
- Information about a network interface.public NetworkInterface getNetworkInterface()
Information about a network interface.
public SimulationJob withNetworkInterface(NetworkInterface networkInterface)
Information about a network interface.
networkInterface
- Information about a network interface.public void setCompute(ComputeResponse compute)
Compute information for the simulation job
compute
- Compute information for the simulation jobpublic ComputeResponse getCompute()
Compute information for the simulation job
public SimulationJob withCompute(ComputeResponse compute)
Compute information for the simulation job
compute
- Compute information for the simulation jobpublic String toString()
toString
in class Object
Object.toString()
public SimulationJob clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.