Interface SimulationJob.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SimulationJob.Builder,
,SimulationJob> SdkBuilder<SimulationJob.Builder,
,SimulationJob> SdkPojo
- Enclosing class:
SimulationJob
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the simulation job.clientRequestToken
(String clientRequestToken) A unique identifier for thisSimulationJob
request.default SimulationJob.Builder
compute
(Consumer<ComputeResponse.Builder> compute) Compute information for the simulation jobcompute
(ComputeResponse compute) Compute information for the simulation jobdataSources
(Collection<DataSource> dataSources) The data sources for the simulation job.dataSources
(Consumer<DataSource.Builder>... dataSources) The data sources for the simulation job.dataSources
(DataSource... dataSources) The data sources for the simulation job.failureBehavior
(String failureBehavior) The failure behavior the simulation job.failureBehavior
(FailureBehavior failureBehavior) The failure behavior the simulation job.failureCode
(String failureCode) The failure code of the simulation job if it failed.failureCode
(SimulationJobErrorCode failureCode) The failure code of the simulation job if it failed.failureReason
(String failureReason) The reason why the simulation job failed.The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated policies on your behalf.lastStartedAt
(Instant lastStartedAt) The time, in milliseconds since the epoch, when the simulation job was last started.lastUpdatedAt
(Instant lastUpdatedAt) The time, in milliseconds since the epoch, when the simulation job was last updated.default SimulationJob.Builder
loggingConfig
(Consumer<LoggingConfig.Builder> loggingConfig) The logging configuration.loggingConfig
(LoggingConfig loggingConfig) The logging configuration.maxJobDurationInSeconds
(Long maxJobDurationInSeconds) The maximum simulation job duration in seconds.The name of the simulation job.default SimulationJob.Builder
networkInterface
(Consumer<NetworkInterface.Builder> networkInterface) Information about a network interface.networkInterface
(NetworkInterface networkInterface) Information about a network interface.default SimulationJob.Builder
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.robotApplications
(Collection<RobotApplicationConfig> robotApplications) A list of robot applications.robotApplications
(Consumer<RobotApplicationConfig.Builder>... robotApplications) A list of robot applications.robotApplications
(RobotApplicationConfig... robotApplications) A list of robot applications.simulationApplications
(Collection<SimulationApplicationConfig> simulationApplications) A list of simulation applications.simulationApplications
(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) A list of simulation applications.simulationApplications
(SimulationApplicationConfig... simulationApplications) A list of simulation applications.simulationTimeMillis
(Long simulationTimeMillis) The simulation job execution duration in milliseconds.Status of the simulation job.status
(SimulationJobStatus status) Status of the simulation job.A map that contains tag keys and tag values that are attached to the simulation job.default SimulationJob.Builder
vpcConfig
(Consumer<VPCConfigResponse.Builder> vpcConfig) VPC configuration information.vpcConfig
(VPCConfigResponse vpcConfig) VPC configuration information.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 Details
-
arn
The Amazon Resource Name (ARN) of the simulation job.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the simulation job.
- Parameters:
name
- The name of the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status of the simulation job.
- Parameters:
status
- Status of the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the simulation job.
- Parameters:
status
- Status of the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastStartedAt
The time, in milliseconds since the epoch, when the simulation job was last started.
- Parameters:
lastStartedAt
- The time, in milliseconds since the epoch, when the simulation job was last started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The time, in milliseconds since the epoch, when the simulation job was last updated.
- Parameters:
lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job was last updated.- 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 host 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 host 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 host 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 host 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:
-
failureCode
The failure code of the simulation job if it failed.
- Parameters:
failureCode
- The failure code of the simulation job if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
The failure code of the simulation job if it failed.
- Parameters:
failureCode
- The failure code of the simulation job if it failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reason why the simulation job failed.
- Parameters:
failureReason
- The reason why the simulation job failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A unique identifier for this
SimulationJob
request.- Parameters:
clientRequestToken
- A unique identifier for thisSimulationJob
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
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
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. 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.
-
simulationTimeMillis
The simulation job execution duration in milliseconds.
- Parameters:
simulationTimeMillis
- The simulation job execution duration in milliseconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRole
The IAM role 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 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.
-
robotApplications
A list of robot applications.
- Parameters:
robotApplications
- A list of robot applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
A list of robot applications.
- Parameters:
robotApplications
- A list of robot applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
SimulationJob.Builder robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications) A list of robot applications.
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
SimulationJob.Builder simulationApplications(Collection<SimulationApplicationConfig> simulationApplications) A list of simulation applications.
- Parameters:
simulationApplications
- A list of simulation applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
A list of simulation applications.
- Parameters:
simulationApplications
- A list of simulation applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
SimulationJob.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) A list of simulation applications.
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
The data sources for the simulation job.
- Parameters:
dataSources
- The data sources for the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
The data sources for the simulation job.
- Parameters:
dataSources
- The data sources for the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
The data sources for the simulation job.
This is a convenience method that creates an instance of theDataSource.Builder
avoiding the need to create one manually viaDataSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataSources(List<DataSource>)
.- Parameters:
dataSources
- a consumer that will call methods onDataSource.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
VPC configuration information.
- Parameters:
vpcConfig
- VPC configuration information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
VPC configuration information.
This is a convenience method that creates an instance of theVPCConfigResponse.Builder
avoiding the need to create one manually viaVPCConfigResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(VPCConfigResponse)
.- Parameters:
vpcConfig
- a consumer that will call methods onVPCConfigResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkInterface
Information about a network interface.
- Parameters:
networkInterface
- Information about a network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterface
Information about a network interface.
This is a convenience method that creates an instance of theNetworkInterface.Builder
avoiding the need to create one manually viaNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkInterface(NetworkInterface)
.- Parameters:
networkInterface
- a consumer that will call methods onNetworkInterface.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 theComputeResponse.Builder
avoiding the need to create one manually viaComputeResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocompute(ComputeResponse)
.- Parameters:
compute
- a consumer that will call methods onComputeResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-