Interface SimulationJob.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SimulationJob.Builder,SimulationJob>,SdkBuilder<SimulationJob.Builder,SimulationJob>,SdkPojo
- Enclosing class:
- SimulationJob
public static interface SimulationJob.Builder extends SdkPojo, CopyableBuilder<SimulationJob.Builder,SimulationJob>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SimulationJob.Builderarn(String arn)The Amazon Resource Name (ARN) of the simulation job.SimulationJob.BuilderclientRequestToken(String clientRequestToken)A unique identifier for thisSimulationJobrequest.default SimulationJob.Buildercompute(Consumer<ComputeResponse.Builder> compute)Compute information for the simulation jobSimulationJob.Buildercompute(ComputeResponse compute)Compute information for the simulation jobSimulationJob.BuilderdataSources(Collection<DataSource> dataSources)The data sources for the simulation job.SimulationJob.BuilderdataSources(Consumer<DataSource.Builder>... dataSources)The data sources for the simulation job.SimulationJob.BuilderdataSources(DataSource... dataSources)The data sources for the simulation job.SimulationJob.BuilderfailureBehavior(String failureBehavior)The failure behavior the simulation job.SimulationJob.BuilderfailureBehavior(FailureBehavior failureBehavior)The failure behavior the simulation job.SimulationJob.BuilderfailureCode(String failureCode)The failure code of the simulation job if it failed.SimulationJob.BuilderfailureCode(SimulationJobErrorCode failureCode)The failure code of the simulation job if it failed.SimulationJob.BuilderfailureReason(String failureReason)The reason why the simulation job failed.SimulationJob.BuilderiamRole(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.BuilderlastStartedAt(Instant lastStartedAt)The time, in milliseconds since the epoch, when the simulation job was last started.SimulationJob.BuilderlastUpdatedAt(Instant lastUpdatedAt)The time, in milliseconds since the epoch, when the simulation job was last updated.default SimulationJob.BuilderloggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)The logging configuration.SimulationJob.BuilderloggingConfig(LoggingConfig loggingConfig)The logging configuration.SimulationJob.BuildermaxJobDurationInSeconds(Long maxJobDurationInSeconds)The maximum simulation job duration in seconds.SimulationJob.Buildername(String name)The name of the simulation job.default SimulationJob.BuildernetworkInterface(Consumer<NetworkInterface.Builder> networkInterface)Information about a network interface.SimulationJob.BuildernetworkInterface(NetworkInterface networkInterface)Information about a network interface.default SimulationJob.BuilderoutputLocation(Consumer<OutputLocation.Builder> outputLocation)Location for output files generated by the simulation job.SimulationJob.BuilderoutputLocation(OutputLocation outputLocation)Location for output files generated by the simulation job.SimulationJob.BuilderrobotApplications(Collection<RobotApplicationConfig> robotApplications)A list of robot applications.SimulationJob.BuilderrobotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)A list of robot applications.SimulationJob.BuilderrobotApplications(RobotApplicationConfig... robotApplications)A list of robot applications.SimulationJob.BuildersimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)A list of simulation applications.SimulationJob.BuildersimulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)A list of simulation applications.SimulationJob.BuildersimulationApplications(SimulationApplicationConfig... simulationApplications)A list of simulation applications.SimulationJob.BuildersimulationTimeMillis(Long simulationTimeMillis)The simulation job execution duration in milliseconds.SimulationJob.Builderstatus(String status)Status of the simulation job.SimulationJob.Builderstatus(SimulationJobStatus status)Status of the simulation job.SimulationJob.Buildertags(Map<String,String> tags)A map that contains tag keys and tag values that are attached to the simulation job.default SimulationJob.BuildervpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig)VPC configuration information.SimulationJob.BuildervpcConfig(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 Detail
-
arn
SimulationJob.Builder arn(String 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
SimulationJob.Builder name(String 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
SimulationJob.Builder status(String 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:
SimulationJobStatus,SimulationJobStatus
-
status
SimulationJob.Builder status(SimulationJobStatus 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:
SimulationJobStatus,SimulationJobStatus
-
lastStartedAt
SimulationJob.Builder lastStartedAt(Instant 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
SimulationJob.Builder lastUpdatedAt(Instant 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
SimulationJob.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
SimulationJob.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
-
failureCode
SimulationJob.Builder failureCode(String 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:
SimulationJobErrorCode,SimulationJobErrorCode
-
failureCode
SimulationJob.Builder failureCode(SimulationJobErrorCode 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:
SimulationJobErrorCode,SimulationJobErrorCode
-
failureReason
SimulationJob.Builder failureReason(String 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
SimulationJob.Builder clientRequestToken(String clientRequestToken)
A unique identifier for this
SimulationJobrequest.- Parameters:
clientRequestToken- A unique identifier for thisSimulationJobrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
SimulationJob.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 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.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
SimulationJob.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 SimulationJob.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
SimulationJob.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.
-
simulationTimeMillis
SimulationJob.Builder simulationTimeMillis(Long 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
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.
- 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
SimulationJob.Builder robotApplications(Collection<RobotApplicationConfig> 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(RobotApplicationConfig... 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.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
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
SimulationJob.Builder simulationApplications(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
SimulationJob.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)
A list of simulation applications.
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
SimulationJob.Builder dataSources(Collection<DataSource> 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
SimulationJob.Builder dataSources(DataSource... 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
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.Builderavoiding the need to create one manually viaDataSource.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 onDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataSources(java.util.Collection)
-
tags
SimulationJob.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
SimulationJob.Builder vpcConfig(VPCConfigResponse 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
default SimulationJob.Builder vpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig)
VPC configuration information.
This is a convenience method that creates an instance of theVPCConfigResponse.Builderavoiding the need to create one manually viaVPCConfigResponse.builder().When the
Consumercompletes,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:
vpcConfig(VPCConfigResponse)
-
networkInterface
SimulationJob.Builder networkInterface(NetworkInterface 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
default SimulationJob.Builder networkInterface(Consumer<NetworkInterface.Builder> networkInterface)
Information about a network interface.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,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:
networkInterface(NetworkInterface)
-
compute
SimulationJob.Builder compute(ComputeResponse 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 SimulationJob.Builder compute(Consumer<ComputeResponse.Builder> compute)
Compute information for the simulation job
This is a convenience method that creates an instance of theComputeResponse.Builderavoiding the need to create one manually viaComputeResponse.builder().When the
Consumercompletes,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:
compute(ComputeResponse)
-
-