public static interface SimulationJob.Builder extends SdkPojo, CopyableBuilder<SimulationJob.Builder,SimulationJob>
Modifier and Type | Method and Description |
---|---|
SimulationJob.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the simulation job.
|
SimulationJob.Builder |
clientRequestToken(String clientRequestToken)
A unique identifier for this
SimulationJob request. |
SimulationJob.Builder |
failureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
|
SimulationJob.Builder |
failureBehavior(String failureBehavior)
The failure behavior the simulation job.
|
SimulationJob.Builder |
failureCode(SimulationJobErrorCode failureCode)
The failure code of the simulation job if it failed.
|
SimulationJob.Builder |
failureCode(String failureCode)
The failure code of the simulation job if it failed.
|
SimulationJob.Builder |
iamRole(String iamRole)
The IAM role that allows the simulation instance to call the AWS APIs that are specified in its associated
policies on your behalf.
|
SimulationJob.Builder |
lastUpdatedAt(Instant lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
|
SimulationJob.Builder |
maxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds.
|
SimulationJob.Builder |
name(String name)
The name of the simulation job.
|
default SimulationJob.Builder |
outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Location for output files generated by the simulation job.
|
SimulationJob.Builder |
outputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
|
SimulationJob.Builder |
robotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
|
SimulationJob.Builder |
robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)
A list of robot applications.
|
SimulationJob.Builder |
robotApplications(RobotApplicationConfig... robotApplications)
A list of robot applications.
|
SimulationJob.Builder |
simulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
|
SimulationJob.Builder |
simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)
A list of simulation applications.
|
SimulationJob.Builder |
simulationApplications(SimulationApplicationConfig... simulationApplications)
A list of simulation applications.
|
SimulationJob.Builder |
simulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
|
SimulationJob.Builder |
status(SimulationJobStatus status)
Status of the simulation job.
|
SimulationJob.Builder |
status(String status)
Status of the simulation job.
|
default SimulationJob.Builder |
vpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig)
VPC configuration information.
|
SimulationJob.Builder |
vpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
|
copy
applyMutation, build
SimulationJob.Builder arn(String arn)
The Amazon Resource Name (ARN) of the simulation job.
arn
- The Amazon Resource Name (ARN) of the simulation job.SimulationJob.Builder name(String name)
The name of the simulation job.
name
- The name of the simulation job.SimulationJob.Builder status(String status)
Status of the simulation job.
status
- Status of the simulation job.SimulationJobStatus
,
SimulationJobStatus
SimulationJob.Builder status(SimulationJobStatus status)
Status of the simulation job.
status
- Status of the simulation job.SimulationJobStatus
,
SimulationJobStatus
SimulationJob.Builder lastUpdatedAt(Instant lastUpdatedAt)
The time, in milliseconds since the epoch, when the simulation job was last updated.
lastUpdatedAt
- The time, in milliseconds since the epoch, when the simulation job was last updated.SimulationJob.Builder failureBehavior(String failureBehavior)
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
failureBehavior
- The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
FailureBehavior
,
FailureBehavior
SimulationJob.Builder failureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
failureBehavior
- The failure behavior the simulation job.
Restart the simulation job in the same host instance.
Stop the simulation job and terminate the instance.
FailureBehavior
,
FailureBehavior
SimulationJob.Builder failureCode(String failureCode)
The failure code of the simulation job if it failed.
failureCode
- The failure code of the simulation job if it failed.SimulationJobErrorCode
,
SimulationJobErrorCode
SimulationJob.Builder failureCode(SimulationJobErrorCode failureCode)
The failure code of the simulation job if it failed.
failureCode
- The failure code of the simulation job if it failed.SimulationJobErrorCode
,
SimulationJobErrorCode
SimulationJob.Builder clientRequestToken(String clientRequestToken)
A unique identifier for this SimulationJob
request.
clientRequestToken
- A unique identifier for this SimulationJob
request.SimulationJob.Builder outputLocation(OutputLocation outputLocation)
Location for output files generated by the simulation job.
outputLocation
- Location for output files generated by the simulation job.default SimulationJob.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Location for output files generated by the simulation job.
This is a convenience that creates an instance of theOutputLocation.Builder
avoiding the need to
create one manually via OutputLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to outputLocation(OutputLocation)
.outputLocation
- a consumer that will call methods on OutputLocation.Builder
outputLocation(OutputLocation)
SimulationJob.Builder maxJobDurationInSeconds(Long maxJobDurationInSeconds)
The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.
maxJobDurationInSeconds
- The maximum simulation job duration in seconds. The value must be 8 days (691,200 seconds) or less.SimulationJob.Builder simulationTimeMillis(Long simulationTimeMillis)
The simulation job execution duration in milliseconds.
simulationTimeMillis
- The simulation job execution duration in milliseconds.SimulationJob.Builder iamRole(String 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. See how to specify AWS security credentials for your application.
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. See
how to specify AWS security credentials for your application.SimulationJob.Builder robotApplications(Collection<RobotApplicationConfig> robotApplications)
A list of robot applications.
robotApplications
- A list of robot applications.SimulationJob.Builder robotApplications(RobotApplicationConfig... robotApplications)
A list of robot applications.
robotApplications
- A list of robot applications.SimulationJob.Builder robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)
A list of robot applications.
This is a convenience that creates an instance of theList.Builder
avoiding
the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #robotApplications(List)
.robotApplications
- a consumer that will call methods on List.Builder
#robotApplications(List)
SimulationJob.Builder simulationApplications(Collection<SimulationApplicationConfig> simulationApplications)
A list of simulation applications.
simulationApplications
- A list of simulation applications.SimulationJob.Builder simulationApplications(SimulationApplicationConfig... simulationApplications)
A list of simulation applications.
simulationApplications
- A list of simulation applications.SimulationJob.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)
A list of simulation applications.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #simulationApplications(List)
.simulationApplications
- a consumer that will call methods on List.Builder
#simulationApplications(List)
SimulationJob.Builder vpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
vpcConfig
- VPC configuration information.default SimulationJob.Builder vpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig)
VPC configuration information.
This is a convenience that creates an instance of theVPCConfigResponse.Builder
avoiding the need to
create one manually via VPCConfigResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to vpcConfig(VPCConfigResponse)
.vpcConfig
- a consumer that will call methods on VPCConfigResponse.Builder
vpcConfig(VPCConfigResponse)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.