Interface SimulationJobRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SimulationJobRequest.Builder,SimulationJobRequest>,SdkBuilder<SimulationJobRequest.Builder,SimulationJobRequest>,SdkPojo
- Enclosing class:
- SimulationJobRequest
public static interface SimulationJobRequest.Builder extends SdkPojo, CopyableBuilder<SimulationJobRequest.Builder,SimulationJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SimulationJobRequest.Buildercompute(Consumer<Compute.Builder> compute)Compute information for the simulation jobSimulationJobRequest.Buildercompute(Compute compute)Compute information for the simulation jobSimulationJobRequest.BuilderdataSources(Collection<DataSourceConfig> dataSources)Specify data sources to mount read-only files from S3 into your simulation.SimulationJobRequest.BuilderdataSources(Consumer<DataSourceConfig.Builder>... dataSources)Specify data sources to mount read-only files from S3 into your simulation.SimulationJobRequest.BuilderdataSources(DataSourceConfig... dataSources)Specify data sources to mount read-only files from S3 into your simulation.SimulationJobRequest.BuilderfailureBehavior(String failureBehavior)The failure behavior the simulation job.SimulationJobRequest.BuilderfailureBehavior(FailureBehavior failureBehavior)The failure behavior the simulation job.SimulationJobRequest.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 SimulationJobRequest.BuilderloggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)Sets the value of the LoggingConfig property for this object.SimulationJobRequest.BuilderloggingConfig(LoggingConfig loggingConfig)Sets the value of the LoggingConfig property for this object.SimulationJobRequest.BuildermaxJobDurationInSeconds(Long maxJobDurationInSeconds)The maximum simulation job duration in seconds.default SimulationJobRequest.BuilderoutputLocation(Consumer<OutputLocation.Builder> outputLocation)Sets the value of the OutputLocation property for this object.SimulationJobRequest.BuilderoutputLocation(OutputLocation outputLocation)Sets the value of the OutputLocation property for this object.SimulationJobRequest.BuilderrobotApplications(Collection<RobotApplicationConfig> robotApplications)The robot applications to use in the simulation job.SimulationJobRequest.BuilderrobotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)The robot applications to use in the simulation job.SimulationJobRequest.BuilderrobotApplications(RobotApplicationConfig... robotApplications)The robot applications to use in the simulation job.SimulationJobRequest.BuildersimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)The simulation applications to use in the simulation job.SimulationJobRequest.BuildersimulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)The simulation applications to use in the simulation job.SimulationJobRequest.BuildersimulationApplications(SimulationApplicationConfig... simulationApplications)The simulation applications to use in the simulation job.SimulationJobRequest.Buildertags(Map<String,String> tags)A map that contains tag keys and tag values that are attached to the simulation job request.SimulationJobRequest.BuilderuseDefaultApplications(Boolean useDefaultApplications)A Boolean indicating whether to use default applications in the simulation job.default SimulationJobRequest.BuildervpcConfig(Consumer<VPCConfig.Builder> vpcConfig)Sets the value of the VpcConfig property for this object.SimulationJobRequest.BuildervpcConfig(VPCConfig vpcConfig)Sets the value of the VpcConfig property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
outputLocation
SimulationJobRequest.Builder outputLocation(OutputLocation outputLocation)
Sets the value of the OutputLocation property for this object.- Parameters:
outputLocation- The new value for the OutputLocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
default SimulationJobRequest.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Sets the value of the OutputLocation property for this object. 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
SimulationJobRequest.Builder loggingConfig(LoggingConfig loggingConfig)
Sets the value of the LoggingConfig property for this object.- Parameters:
loggingConfig- The new value for the LoggingConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loggingConfig
default SimulationJobRequest.Builder loggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)
Sets the value of the LoggingConfig property for this object. 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
SimulationJobRequest.Builder maxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
- Parameters:
maxJobDurationInSeconds- The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRole
SimulationJobRequest.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
SimulationJobRequest.Builder failureBehavior(String failureBehavior)
The failure behavior the simulation job.
- Continue
-
Leaves the host 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 host 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
SimulationJobRequest.Builder failureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
- Continue
-
Leaves the host 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 host 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
-
useDefaultApplications
SimulationJobRequest.Builder useDefaultApplications(Boolean useDefaultApplications)
A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.
- Parameters:
useDefaultApplications- A Boolean indicating whether to use default applications in the simulation job. Default applications include Gazebo, rqt, rviz and terminal access.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
SimulationJobRequest.Builder robotApplications(Collection<RobotApplicationConfig> robotApplications)
The robot applications to use in the simulation job.
- Parameters:
robotApplications- The robot applications to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
SimulationJobRequest.Builder robotApplications(RobotApplicationConfig... robotApplications)
The robot applications to use in the simulation job.
- Parameters:
robotApplications- The robot applications to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
SimulationJobRequest.Builder robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)
The robot applications 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
SimulationJobRequest.Builder simulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
The simulation applications to use in the simulation job.
- Parameters:
simulationApplications- The simulation applications to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
SimulationJobRequest.Builder simulationApplications(SimulationApplicationConfig... simulationApplications)
The simulation applications to use in the simulation job.
- Parameters:
simulationApplications- The simulation applications to use in the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
SimulationJobRequest.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)
The simulation applications 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
SimulationJobRequest.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
SimulationJobRequest.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
SimulationJobRequest.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)
-
vpcConfig
SimulationJobRequest.Builder vpcConfig(VPCConfig vpcConfig)
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default SimulationJobRequest.Builder vpcConfig(Consumer<VPCConfig.Builder> vpcConfig)
Sets the value of the VpcConfig property for this object. 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
SimulationJobRequest.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 SimulationJobRequest.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)
-
tags
SimulationJobRequest.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job request.
- Parameters:
tags- A map that contains tag keys and tag values that are attached to the simulation job request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-