@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SimulationJobRequest extends Object implements Serializable, Cloneable, StructuredPojo
Information about a simulation job request.
Constructor and Description |
---|
SimulationJobRequest() |
Modifier and Type | Method and Description |
---|---|
SimulationJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SimulationJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
SimulationJobRequest |
clone() |
boolean |
equals(Object obj) |
Compute |
getCompute()
Compute information for the simulation job
|
List<DataSourceConfig> |
getDataSources()
Specify data sources to mount read-only files from S3 into your simulation.
|
String |
getFailureBehavior()
The failure behavior the simulation job.
|
String |
getIamRole()
The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
LoggingConfig |
getLoggingConfig() |
Long |
getMaxJobDurationInSeconds()
The maximum simulation job duration in seconds.
|
OutputLocation |
getOutputLocation() |
List<RobotApplicationConfig> |
getRobotApplications()
The robot applications to use in the simulation job.
|
List<SimulationApplicationConfig> |
getSimulationApplications()
The simulation applications to use in the simulation job.
|
Map<String,String> |
getTags()
A map that contains tag keys and tag values that are attached to the simulation job request.
|
Boolean |
getUseDefaultApplications()
A Boolean indicating whether to use default applications in the simulation job.
|
VPCConfig |
getVpcConfig() |
int |
hashCode() |
Boolean |
isUseDefaultApplications()
A Boolean indicating whether to use default applications in the simulation job.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompute(Compute compute)
Compute information for the simulation job
|
void |
setDataSources(Collection<DataSourceConfig> dataSources)
Specify data sources to mount read-only files from S3 into your simulation.
|
void |
setFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
void |
setIamRole(String iamRole)
The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
void |
setLoggingConfig(LoggingConfig loggingConfig) |
void |
setMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds.
|
void |
setOutputLocation(OutputLocation outputLocation) |
void |
setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot applications to use in the simulation job.
|
void |
setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation applications to use in 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 request.
|
void |
setUseDefaultApplications(Boolean useDefaultApplications)
A Boolean indicating whether to use default applications in the simulation job.
|
void |
setVpcConfig(VPCConfig vpcConfig) |
String |
toString()
Returns a string representation of this object.
|
SimulationJobRequest |
withCompute(Compute compute)
Compute information for the simulation job
|
SimulationJobRequest |
withDataSources(Collection<DataSourceConfig> dataSources)
Specify data sources to mount read-only files from S3 into your simulation.
|
SimulationJobRequest |
withDataSources(DataSourceConfig... dataSources)
Specify data sources to mount read-only files from S3 into your simulation.
|
SimulationJobRequest |
withFailureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
|
SimulationJobRequest |
withFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
SimulationJobRequest |
withIamRole(String iamRole)
The IAM role name that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
SimulationJobRequest |
withLoggingConfig(LoggingConfig loggingConfig) |
SimulationJobRequest |
withMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds.
|
SimulationJobRequest |
withOutputLocation(OutputLocation outputLocation) |
SimulationJobRequest |
withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot applications to use in the simulation job.
|
SimulationJobRequest |
withRobotApplications(RobotApplicationConfig... robotApplications)
The robot applications to use in the simulation job.
|
SimulationJobRequest |
withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation applications to use in the simulation job.
|
SimulationJobRequest |
withSimulationApplications(SimulationApplicationConfig... simulationApplications)
The simulation applications to use in the simulation job.
|
SimulationJobRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job request.
|
SimulationJobRequest |
withUseDefaultApplications(Boolean useDefaultApplications)
A Boolean indicating whether to use default applications in the simulation job.
|
SimulationJobRequest |
withVpcConfig(VPCConfig vpcConfig) |
public void setOutputLocation(OutputLocation outputLocation)
outputLocation
- public OutputLocation getOutputLocation()
public SimulationJobRequest withOutputLocation(OutputLocation outputLocation)
outputLocation
- public void setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- public LoggingConfig getLoggingConfig()
public SimulationJobRequest withLoggingConfig(LoggingConfig loggingConfig)
loggingConfig
- 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 SimulationJobRequest 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 setIamRole(String iamRole)
The IAM role name 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 name 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 name 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 SimulationJobRequest withIamRole(String iamRole)
The IAM role name 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 name 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 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 SimulationJobRequest 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 SimulationJobRequest 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 setUseDefaultApplications(Boolean useDefaultApplications)
A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.
useDefaultApplications
- A Boolean indicating whether to use default applications in the simulation job. Default applications
include Gazebo, rqt, rviz and terminal access.public Boolean getUseDefaultApplications()
A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.
public SimulationJobRequest withUseDefaultApplications(Boolean useDefaultApplications)
A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.
useDefaultApplications
- A Boolean indicating whether to use default applications in the simulation job. Default applications
include Gazebo, rqt, rviz and terminal access.public Boolean isUseDefaultApplications()
A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.
public List<RobotApplicationConfig> getRobotApplications()
The robot applications to use in the simulation job.
public void setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot applications to use in the simulation job.
robotApplications
- The robot applications to use in the simulation job.public SimulationJobRequest withRobotApplications(RobotApplicationConfig... robotApplications)
The robot applications to use in the simulation job.
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
- The robot applications to use in the simulation job.public SimulationJobRequest withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot applications to use in the simulation job.
robotApplications
- The robot applications to use in the simulation job.public List<SimulationApplicationConfig> getSimulationApplications()
The simulation applications to use in the simulation job.
public void setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation applications to use in the simulation job.
simulationApplications
- The simulation applications to use in the simulation job.public SimulationJobRequest withSimulationApplications(SimulationApplicationConfig... simulationApplications)
The simulation applications to use in the simulation job.
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
- The simulation applications to use in the simulation job.public SimulationJobRequest withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation applications to use in the simulation job.
simulationApplications
- The simulation applications to use in the simulation job.public List<DataSourceConfig> getDataSources()
Specify data sources to mount read-only files from S3 into your simulation. These files are available under
/opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
/opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
public void setDataSources(Collection<DataSourceConfig> dataSources)
Specify data sources to mount read-only files from S3 into your simulation. These files are available under
/opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
dataSources
- Specify data sources to mount read-only files from S3 into your simulation. These files are available
under /opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
public SimulationJobRequest withDataSources(DataSourceConfig... dataSources)
Specify data sources to mount read-only files from S3 into your simulation. These files are available under
/opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
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
- Specify data sources to mount read-only files from S3 into your simulation. These files are available
under /opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
public SimulationJobRequest withDataSources(Collection<DataSourceConfig> dataSources)
Specify data sources to mount read-only files from S3 into your simulation. These files are available under
/opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
dataSources
- Specify data sources to mount read-only files from S3 into your simulation. These files are available
under /opt/robomaker/datasources/data_source_name
.
There is a limit of 100 files and a combined size of 25GB for all DataSourceConfig
objects.
public void setVpcConfig(VPCConfig vpcConfig)
vpcConfig
- public VPCConfig getVpcConfig()
public SimulationJobRequest withVpcConfig(VPCConfig vpcConfig)
vpcConfig
- public void setCompute(Compute compute)
Compute information for the simulation job
compute
- Compute information for the simulation jobpublic Compute getCompute()
Compute information for the simulation job
public SimulationJobRequest withCompute(Compute compute)
Compute information for the simulation job
compute
- Compute information for the simulation jobpublic Map<String,String> getTags()
A map that contains tag keys and tag values that are attached to the simulation job request.
public void setTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job request.
tags
- A map that contains tag keys and tag values that are attached to the simulation job request.public SimulationJobRequest withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job request.
tags
- A map that contains tag keys and tag values that are attached to the simulation job request.public SimulationJobRequest addTagsEntry(String key, String value)
public SimulationJobRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public SimulationJobRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.