@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSimulationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSimulationJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSimulationJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSimulationJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSimulationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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()
The logging configuration.
|
Long |
getMaxJobDurationInSeconds()
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.
|
OutputLocation |
getOutputLocation()
Location for output files generated by the simulation job.
|
List<RobotApplicationConfig> |
getRobotApplications()
The robot application to use in the simulation job.
|
List<SimulationApplicationConfig> |
getSimulationApplications()
The simulation application 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.
|
VPCConfig |
getVpcConfig()
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
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)
The logging configuration.
|
void |
setMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.
|
void |
setOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
|
void |
setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot application to use in the simulation job.
|
void |
setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation application 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.
|
void |
setVpcConfig(VPCConfig vpcConfig)
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
String |
toString()
Returns a string representation of this object.
|
CreateSimulationJobRequest |
withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateSimulationJobRequest |
withCompute(Compute compute)
Compute information for the simulation job.
|
CreateSimulationJobRequest |
withDataSources(Collection<DataSourceConfig> dataSources)
Specify data sources to mount read-only files from S3 into your simulation.
|
CreateSimulationJobRequest |
withDataSources(DataSourceConfig... dataSources)
Specify data sources to mount read-only files from S3 into your simulation.
|
CreateSimulationJobRequest |
withFailureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
|
CreateSimulationJobRequest |
withFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
CreateSimulationJobRequest |
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.
|
CreateSimulationJobRequest |
withLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
|
CreateSimulationJobRequest |
withMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.
|
CreateSimulationJobRequest |
withOutputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
|
CreateSimulationJobRequest |
withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot application to use in the simulation job.
|
CreateSimulationJobRequest |
withRobotApplications(RobotApplicationConfig... robotApplications)
The robot application to use in the simulation job.
|
CreateSimulationJobRequest |
withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation application to use in the simulation job.
|
CreateSimulationJobRequest |
withSimulationApplications(SimulationApplicationConfig... simulationApplications)
The simulation application to use in the simulation job.
|
CreateSimulationJobRequest |
withTags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
|
CreateSimulationJobRequest |
withVpcConfig(VPCConfig vpcConfig)
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security
group IDs and subnet IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.public String getClientRequestToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
public CreateSimulationJobRequest withClientRequestToken(String clientRequestToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the 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 CreateSimulationJobRequest 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 CreateSimulationJobRequest withLoggingConfig(LoggingConfig loggingConfig)
The logging configuration.
loggingConfig
- The logging configuration.public void setMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.
maxJobDurationInSeconds
- The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.public Long getMaxJobDurationInSeconds()
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.public CreateSimulationJobRequest withMaxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.
maxJobDurationInSeconds
- The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSeconds
is reached, the simulation job will status will transition to
Completed
.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 CreateSimulationJobRequest 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 instance 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 instance 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 instance running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
Leaves the instance running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public CreateSimulationJobRequest withFailureBehavior(String failureBehavior)
The failure behavior the simulation job.
Leaves the instance 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 instance running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public CreateSimulationJobRequest withFailureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
Leaves the instance 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 instance running for its maximum timeout duration after a 4XX
error code.
Stop the simulation job and terminate the instance.
FailureBehavior
public List<RobotApplicationConfig> getRobotApplications()
The robot application to use in the simulation job.
public void setRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot application to use in the simulation job.
robotApplications
- The robot application to use in the simulation job.public CreateSimulationJobRequest withRobotApplications(RobotApplicationConfig... robotApplications)
The robot application 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 application to use in the simulation job.public CreateSimulationJobRequest withRobotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot application to use in the simulation job.
robotApplications
- The robot application to use in the simulation job.public List<SimulationApplicationConfig> getSimulationApplications()
The simulation application to use in the simulation job.
public void setSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation application to use in the simulation job.
simulationApplications
- The simulation application to use in the simulation job.public CreateSimulationJobRequest withSimulationApplications(SimulationApplicationConfig... simulationApplications)
The simulation application 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 application to use in the simulation job.public CreateSimulationJobRequest withSimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation application to use in the simulation job.
simulationApplications
- The simulation application 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 CreateSimulationJobRequest 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 CreateSimulationJobRequest 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 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 CreateSimulationJobRequest 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 CreateSimulationJobRequest addTagsEntry(String key, String value)
public CreateSimulationJobRequest clearTagsEntries()
public void setVpcConfig(VPCConfig vpcConfig)
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
vpcConfig
- If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of
security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one
security group and one subnet ID.public VPCConfig getVpcConfig()
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
public CreateSimulationJobRequest withVpcConfig(VPCConfig vpcConfig)
If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one security group and one subnet ID.
vpcConfig
- If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of
security group IDs and subnet IDs. These must belong to the same VPC. You must provide at least one
security group and one subnet ID.public void setCompute(Compute compute)
Compute information for the simulation job.
compute
- Compute information for the simulation job.public Compute getCompute()
Compute information for the simulation job.
public CreateSimulationJobRequest withCompute(Compute compute)
Compute information for the simulation job.
compute
- Compute information for the simulation job.public String toString()
toString
in class Object
Object.toString()
public CreateSimulationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()