Interface CreateSimulationJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSimulationJobRequest.Builder,
,CreateSimulationJobRequest> RoboMakerRequest.Builder
,SdkBuilder<CreateSimulationJobRequest.Builder,
,CreateSimulationJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSimulationJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.compute
(Consumer<Compute.Builder> compute) Compute information for the simulation job.Compute information for the simulation job.dataSources
(Collection<DataSourceConfig> dataSources) Specify data sources to mount read-only files from S3 into your simulation.dataSources
(Consumer<DataSourceConfig.Builder>... dataSources) Specify data sources to mount read-only files from S3 into your simulation.dataSources
(DataSourceConfig... dataSources) Specify data sources to mount read-only files from S3 into your simulation.failureBehavior
(String failureBehavior) The failure behavior the simulation job.failureBehavior
(FailureBehavior failureBehavior) The failure behavior the simulation job.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
(Consumer<LoggingConfig.Builder> loggingConfig) The logging configuration.loggingConfig
(LoggingConfig loggingConfig) The logging configuration.maxJobDurationInSeconds
(Long maxJobDurationInSeconds) The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.outputLocation
(Consumer<OutputLocation.Builder> outputLocation) Location for output files generated by the simulation job.outputLocation
(OutputLocation outputLocation) Location for output files generated by the simulation job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.robotApplications
(Collection<RobotApplicationConfig> robotApplications) The robot application to use in the simulation job.robotApplications
(Consumer<RobotApplicationConfig.Builder>... robotApplications) The robot application to use in the simulation job.robotApplications
(RobotApplicationConfig... robotApplications) The robot application to use in the simulation job.simulationApplications
(Collection<SimulationApplicationConfig> simulationApplications) The simulation application to use in the simulation job.simulationApplications
(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) The simulation application to use in the simulation job.simulationApplications
(SimulationApplicationConfig... simulationApplications) The simulation application to use in the simulation job.A map that contains tag keys and tag values that are attached to the simulation job.vpcConfig
(Consumer<VPCConfig.Builder> vpcConfig) If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs.If your simulation job accesses resources in a VPC, you provide this parameter identifying the list of security group IDs and subnet IDs.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
clientRequestToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
Location for output files generated by the simulation job.
- Parameters:
outputLocation
- Location for output files generated by the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
default CreateSimulationJobRequest.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation) Location for output files generated by the simulation job.
This is a convenience method that creates an instance of theOutputLocation.Builder
avoiding the need to create one manually viaOutputLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputLocation(OutputLocation)
.- Parameters:
outputLocation
- a consumer that will call methods onOutputLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
loggingConfig
The logging configuration.
- Parameters:
loggingConfig
- The logging configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfig
default CreateSimulationJobRequest.Builder loggingConfig(Consumer<LoggingConfig.Builder> loggingConfig) The logging configuration.
This is a convenience method that creates an instance of theLoggingConfig.Builder
avoiding the need to create one manually viaLoggingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologgingConfig(LoggingConfig)
.- Parameters:
loggingConfig
- a consumer that will call methods onLoggingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 toCompleted
.- Parameters:
maxJobDurationInSeconds
- The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. WhenmaxJobDurationInSeconds
is reached, the simulation job will status will transition toCompleted
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureBehavior
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XX
error code. - Fail
-
Stop the simulation job and terminate the instance.
- Parameters:
failureBehavior
- The failure behavior the simulation job.- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XX
error code. - Fail
-
Stop the simulation job and terminate the instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureBehavior
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XX
error code. - Fail
-
Stop the simulation job and terminate the instance.
- Parameters:
failureBehavior
- The failure behavior the simulation job.- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XX
error code. - Fail
-
Stop the simulation job and terminate the instance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
robotApplications
CreateSimulationJobRequest.Builder robotApplications(Collection<RobotApplicationConfig> robotApplications) The robot application to use in the simulation job.
- Parameters:
robotApplications
- The robot application to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
The robot application to use in the simulation job.
- Parameters:
robotApplications
- The robot application to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
CreateSimulationJobRequest.Builder robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications) The robot application to use in the simulation job.
This is a convenience method that creates an instance of theRobotApplicationConfig.Builder
avoiding the need to create one manually viaRobotApplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torobotApplications(List<RobotApplicationConfig>)
.- Parameters:
robotApplications
- a consumer that will call methods onRobotApplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
simulationApplications
CreateSimulationJobRequest.Builder simulationApplications(Collection<SimulationApplicationConfig> simulationApplications) The simulation application to use in the simulation job.
- Parameters:
simulationApplications
- The simulation application to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
CreateSimulationJobRequest.Builder simulationApplications(SimulationApplicationConfig... simulationApplications) The simulation application to use in the simulation job.
- Parameters:
simulationApplications
- The simulation application to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
CreateSimulationJobRequest.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) The simulation application to use in the simulation job.
This is a convenience method that creates an instance of theSimulationApplicationConfig.Builder
avoiding the need to create one manually viaSimulationApplicationConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosimulationApplications(List<SimulationApplicationConfig>)
.- Parameters:
simulationApplications
- a consumer that will call methods onSimulationApplicationConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.DataSourceConfig.Builder
avoiding the need to create one manually viaDataSourceConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(List<DataSourceConfig>)
.- Parameters:
dataSources
- a consumer that will call methods onDataSourceConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A map that contains tag keys and tag values that are attached to the simulation job.
- Parameters:
tags
- A map that contains tag keys and tag values that are attached to the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
This is a convenience method that creates an instance of theVPCConfig.Builder
avoiding the need to create one manually viaVPCConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VPCConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onVPCConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compute
Compute information for the simulation job.
- Parameters:
compute
- Compute information for the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compute
Compute information for the simulation job.
This is a convenience method that creates an instance of theCompute.Builder
avoiding the need to create one manually viaCompute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompute(Compute)
.- Parameters:
compute
- a consumer that will call methods onCompute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSimulationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSimulationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-