Interface CreateSimulationJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSimulationJobRequest.Builder,CreateSimulationJobRequest>,RoboMakerRequest.Builder,SdkBuilder<CreateSimulationJobRequest.Builder,CreateSimulationJobRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSimulationJobRequest
public static interface CreateSimulationJobRequest.Builder extends RoboMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateSimulationJobRequest.Builder,CreateSimulationJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSimulationJobRequest.BuilderclientRequestToken(String clientRequestToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateSimulationJobRequest.Buildercompute(Consumer<Compute.Builder> compute)Compute information for the simulation job.CreateSimulationJobRequest.Buildercompute(Compute compute)Compute information for the simulation job.CreateSimulationJobRequest.BuilderdataSources(Collection<DataSourceConfig> dataSources)Specify data sources to mount read-only files from S3 into your simulation.CreateSimulationJobRequest.BuilderdataSources(Consumer<DataSourceConfig.Builder>... dataSources)Specify data sources to mount read-only files from S3 into your simulation.CreateSimulationJobRequest.BuilderdataSources(DataSourceConfig... dataSources)Specify data sources to mount read-only files from S3 into your simulation.CreateSimulationJobRequest.BuilderfailureBehavior(String failureBehavior)The failure behavior the simulation job.CreateSimulationJobRequest.BuilderfailureBehavior(FailureBehavior failureBehavior)The failure behavior the simulation job.CreateSimulationJobRequest.BuilderiamRole(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.default CreateSimulationJobRequest.BuilderloggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)The logging configuration.CreateSimulationJobRequest.BuilderloggingConfig(LoggingConfig loggingConfig)The logging configuration.CreateSimulationJobRequest.BuildermaxJobDurationInSeconds(Long maxJobDurationInSeconds)The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds.default CreateSimulationJobRequest.BuilderoutputLocation(Consumer<OutputLocation.Builder> outputLocation)Location for output files generated by the simulation job.CreateSimulationJobRequest.BuilderoutputLocation(OutputLocation outputLocation)Location for output files generated by the simulation job.CreateSimulationJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSimulationJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSimulationJobRequest.BuilderrobotApplications(Collection<RobotApplicationConfig> robotApplications)The robot application to use in the simulation job.CreateSimulationJobRequest.BuilderrobotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)The robot application to use in the simulation job.CreateSimulationJobRequest.BuilderrobotApplications(RobotApplicationConfig... robotApplications)The robot application to use in the simulation job.CreateSimulationJobRequest.BuildersimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)The simulation application to use in the simulation job.CreateSimulationJobRequest.BuildersimulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)The simulation application to use in the simulation job.CreateSimulationJobRequest.BuildersimulationApplications(SimulationApplicationConfig... simulationApplications)The simulation application to use in the simulation job.CreateSimulationJobRequest.Buildertags(Map<String,String> tags)A map that contains tag keys and tag values that are attached to the simulation job.default CreateSimulationJobRequest.BuildervpcConfig(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.CreateSimulationJobRequest.BuildervpcConfig(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.-
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 Detail
-
clientRequestToken
CreateSimulationJobRequest.Builder clientRequestToken(String 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
CreateSimulationJobRequest.Builder outputLocation(OutputLocation 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.Builderavoiding the need to create one manually viaOutputLocation.builder().When the
Consumercompletes,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:
outputLocation(OutputLocation)
-
loggingConfig
CreateSimulationJobRequest.Builder loggingConfig(LoggingConfig 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.Builderavoiding the need to create one manually viaLoggingConfig.builder().When the
Consumercompletes,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:
loggingConfig(LoggingConfig)
-
maxJobDurationInSeconds
CreateSimulationJobRequest.Builder maxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds (up to 14 days or 1,209,600 seconds. When
maxJobDurationInSecondsis 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. WhenmaxJobDurationInSecondsis 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
CreateSimulationJobRequest.Builder iamRole(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.
- 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
CreateSimulationJobRequest.Builder failureBehavior(String failureBehavior)
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XXerror 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
4XXerror 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,FailureBehavior
-
failureBehavior
CreateSimulationJobRequest.Builder failureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
- Continue
-
Leaves the instance running for its maximum timeout duration after a
4XXerror 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
4XXerror 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,FailureBehavior
-
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
CreateSimulationJobRequest.Builder robotApplications(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
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.Builderavoiding the need to create one manually viaRobotApplicationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#robotApplications(List.) - 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:
#robotApplications(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaSimulationApplicationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#simulationApplications(List.) - 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:
#simulationApplications(java.util.Collection)
-
dataSources
CreateSimulationJobRequest.Builder dataSources(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
DataSourceConfigobjects.- 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
DataSourceConfigobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
CreateSimulationJobRequest.Builder dataSources(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
DataSourceConfigobjects.- 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
DataSourceConfigobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
CreateSimulationJobRequest.Builder dataSources(Consumer<DataSourceConfig.Builder>... 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. This is a convenience method that creates an instance of theThere is a limit of 100 files and a combined size of 25GB for all
DataSourceConfigobjects.DataSourceConfig.Builderavoiding the need to create one manually viaDataSourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSources(List.) - 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:
#dataSources(java.util.Collection)
-
tags
CreateSimulationJobRequest.Builder tags(Map<String,String> 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
CreateSimulationJobRequest.Builder vpcConfig(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.
- 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
default CreateSimulationJobRequest.Builder 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. 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.Builderavoiding the need to create one manually viaVPCConfig.builder().When the
Consumercompletes,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:
vpcConfig(VPCConfig)
-
compute
CreateSimulationJobRequest.Builder compute(Compute 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
default CreateSimulationJobRequest.Builder compute(Consumer<Compute.Builder> compute)
Compute information for the simulation job.
This is a convenience method that creates an instance of theCompute.Builderavoiding the need to create one manually viaCompute.builder().When the
Consumercompletes,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:
compute(Compute)
-
overrideConfiguration
CreateSimulationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSimulationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-