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 |
compute(ComputeResponse compute)
Compute information for the simulation job
|
default SimulationJob.Builder |
compute(Consumer<ComputeResponse.Builder> compute)
Compute information for the simulation job
|
SimulationJob.Builder |
dataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
|
SimulationJob.Builder |
dataSources(Consumer<DataSource.Builder>... dataSources)
The data sources for the simulation job.
|
SimulationJob.Builder |
dataSources(DataSource... dataSources)
The data sources for the simulation job.
|
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 |
failureReason(String failureReason)
The reason why the simulation job 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 |
lastStartedAt(Instant lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
|
SimulationJob.Builder |
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.
|
SimulationJob.Builder |
loggingConfig(LoggingConfig loggingConfig)
The logging configuration.
|
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 |
networkInterface(Consumer<NetworkInterface.Builder> networkInterface)
Information about a network interface.
|
SimulationJob.Builder |
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.
|
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.
|
SimulationJob.Builder |
tags(Map<String,String> tags)
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.
|
SimulationJob.Builder |
vpcConfig(VPCConfigResponse vpcConfig)
VPC configuration information.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSimulationJob.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,
SimulationJobStatusSimulationJob.Builder status(SimulationJobStatus status)
Status of the simulation job.
status - Status of the simulation job.SimulationJobStatus,
SimulationJobStatusSimulationJob.Builder lastStartedAt(Instant lastStartedAt)
The time, in milliseconds since the epoch, when the simulation job was last started.
lastStartedAt - The time, in milliseconds since the epoch, when the simulation job was last started.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.
Leaves the host running for its maximum timeout duration after a 4XX error code.
Stop the simulation job and terminate the instance.
failureBehavior - The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX error code.
Stop the simulation job and terminate the instance.
FailureBehavior,
FailureBehaviorSimulationJob.Builder failureBehavior(FailureBehavior failureBehavior)
The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX error code.
Stop the simulation job and terminate the instance.
failureBehavior - The failure behavior the simulation job.
Leaves the host running for its maximum timeout duration after a 4XX error code.
Stop the simulation job and terminate the instance.
FailureBehavior,
FailureBehaviorSimulationJob.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,
SimulationJobErrorCodeSimulationJob.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,
SimulationJobErrorCodeSimulationJob.Builder failureReason(String failureReason)
The reason why the simulation job failed.
failureReason - The reason why the simulation job failed.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 method 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.BuilderoutputLocation(OutputLocation)SimulationJob.Builder loggingConfig(LoggingConfig loggingConfig)
The logging configuration.
loggingConfig - The logging configuration.default SimulationJob.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 via LoggingConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to loggingConfig(LoggingConfig).
loggingConfig - a consumer that will call methods on LoggingConfig.BuilderloggingConfig(LoggingConfig)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.
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.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 method that creates an instance of theRobotApplicationConfig.Builder avoiding the need to
create one manually via
RobotApplicationConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #robotApplications(List.
robotApplications - a consumer that will call methods on
RobotApplicationConfig.Builder#robotApplications(java.util.Collection) 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 method that creates an instance of theSimulationApplicationConfig.Builder avoiding the need
to create one manually via
SimulationApplicationConfig.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #simulationApplications(List.
simulationApplications - a consumer that will call methods on
SimulationApplicationConfig.Builder#simulationApplications(java.util.Collection) SimulationJob.Builder dataSources(Collection<DataSource> dataSources)
The data sources for the simulation job.
dataSources - The data sources for the simulation job.SimulationJob.Builder dataSources(DataSource... dataSources)
The data sources for the simulation job.
dataSources - The data sources for the simulation job.SimulationJob.Builder dataSources(Consumer<DataSource.Builder>... 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 via DataSource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #dataSources(List.
dataSources - a consumer that will call methods on
DataSource.Builder#dataSources(java.util.Collection) SimulationJob.Builder tags(Map<String,String> tags)
A map that contains tag keys and tag values that are attached to the simulation job.
tags - A map that contains tag keys and tag values that are attached to the simulation job.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 method 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.BuildervpcConfig(VPCConfigResponse)SimulationJob.Builder networkInterface(NetworkInterface networkInterface)
Information about a network interface.
networkInterface - Information about a network interface.default SimulationJob.Builder networkInterface(Consumer<NetworkInterface.Builder> 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 via NetworkInterface.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to networkInterface(NetworkInterface).
networkInterface - a consumer that will call methods on NetworkInterface.BuildernetworkInterface(NetworkInterface)SimulationJob.Builder compute(ComputeResponse compute)
Compute information for the simulation job
compute - Compute information for the simulation jobdefault SimulationJob.Builder compute(Consumer<ComputeResponse.Builder> 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 via ComputeResponse.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to compute(ComputeResponse).
compute - a consumer that will call methods on ComputeResponse.Buildercompute(ComputeResponse)Copyright © 2023. All rights reserved.