Interface CreateSimulationJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateSimulationJobResponse.Builder,
,CreateSimulationJobResponse> RoboMakerResponse.Builder
,SdkBuilder<CreateSimulationJobResponse.Builder,
,CreateSimulationJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateSimulationJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the simulation job.clientRequestToken
(String clientRequestToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.compute
(Consumer<ComputeResponse.Builder> compute) Compute information for the simulation job.compute
(ComputeResponse compute) Compute information for the simulation job.dataSources
(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 for the simulation job.failureBehavior
(FailureBehavior failureBehavior) the failure behavior for 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:The IAM role that allows the simulation job 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.loggingConfig
(Consumer<LoggingConfig.Builder> loggingConfig) The logging configuration.loggingConfig
(LoggingConfig loggingConfig) The logging configuration.maxJobDurationInSeconds
(Long maxJobDurationInSeconds) The maximum simulation job duration in seconds.outputLocation
(Consumer<OutputLocation.Builder> outputLocation) Simulation job output files location.outputLocation
(OutputLocation outputLocation) Simulation job output files location.robotApplications
(Collection<RobotApplicationConfig> robotApplications) The robot application used by the simulation job.robotApplications
(Consumer<RobotApplicationConfig.Builder>... robotApplications) The robot application used by the simulation job.robotApplications
(RobotApplicationConfig... robotApplications) The robot application used by the simulation job.simulationApplications
(Collection<SimulationApplicationConfig> simulationApplications) The simulation application used by the simulation job.simulationApplications
(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) The simulation application used by the simulation job.simulationApplications
(SimulationApplicationConfig... simulationApplications) The simulation application used by the simulation job.simulationTimeMillis
(Long simulationTimeMillis) The simulation job execution duration in milliseconds.The status of the simulation job.status
(SimulationJobStatus status) The status of the simulation job.The list of all tags added to the simulation job.vpcConfig
(Consumer<VPCConfigResponse.Builder> vpcConfig) Information about the vpc configuration.vpcConfig
(VPCConfigResponse vpcConfig) Information about the vpc configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.robomaker.model.RoboMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
status
The status of the simulation job.
- Parameters:
status
- The status of the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the simulation job.
- Parameters:
status
- The 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 for the simulation job.
- Parameters:
failureBehavior
- the failure behavior for the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureBehavior
the failure behavior for the simulation job.
- Parameters:
failureBehavior
- the failure behavior for the simulation job.- 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:
- InternalServiceError
-
Internal service error.
- RobotApplicationCrash
-
Robot application exited abnormally.
- SimulationApplicationCrash
-
Simulation application exited abnormally.
- BadPermissionsRobotApplication
-
Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
-
Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
-
Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
-
Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
-
Subnet IP limit exceeded.
- ENILimitExceeded
-
ENI limit exceeded.
- BadPermissionsUserCredentials
-
Unable to use the Role provided.
- InvalidBundleRobotApplication
-
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
-
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
-
Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
-
Etag for SimulationApplication does not match value during version creation.
- Parameters:
failureCode
- The failure code of the simulation job if it failed:- InternalServiceError
-
Internal service error.
- RobotApplicationCrash
-
Robot application exited abnormally.
- SimulationApplicationCrash
-
Simulation application exited abnormally.
- BadPermissionsRobotApplication
-
Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
-
Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
-
Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
-
Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
-
Subnet IP limit exceeded.
- ENILimitExceeded
-
ENI limit exceeded.
- BadPermissionsUserCredentials
-
Unable to use the Role provided.
- InvalidBundleRobotApplication
-
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
-
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
-
Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
-
Etag for SimulationApplication does not match value during version creation.
- 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:
- InternalServiceError
-
Internal service error.
- RobotApplicationCrash
-
Robot application exited abnormally.
- SimulationApplicationCrash
-
Simulation application exited abnormally.
- BadPermissionsRobotApplication
-
Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
-
Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
-
Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
-
Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
-
Subnet IP limit exceeded.
- ENILimitExceeded
-
ENI limit exceeded.
- BadPermissionsUserCredentials
-
Unable to use the Role provided.
- InvalidBundleRobotApplication
-
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
-
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
-
Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
-
Etag for SimulationApplication does not match value during version creation.
- Parameters:
failureCode
- The failure code of the simulation job if it failed:- InternalServiceError
-
Internal service error.
- RobotApplicationCrash
-
Robot application exited abnormally.
- SimulationApplicationCrash
-
Simulation application exited abnormally.
- BadPermissionsRobotApplication
-
Robot application bundle could not be downloaded.
- BadPermissionsSimulationApplication
-
Simulation application bundle could not be downloaded.
- BadPermissionsS3Output
-
Unable to publish outputs to customer-provided S3 bucket.
- BadPermissionsCloudwatchLogs
-
Unable to publish logs to customer-provided CloudWatch Logs resource.
- SubnetIpLimitExceeded
-
Subnet IP limit exceeded.
- ENILimitExceeded
-
ENI limit exceeded.
- BadPermissionsUserCredentials
-
Unable to use the Role provided.
- InvalidBundleRobotApplication
-
Robot bundle cannot be extracted (invalid format, bundling error, or other issue).
- InvalidBundleSimulationApplication
-
Simulation bundle cannot be extracted (invalid format, bundling error, or other issue).
- RobotApplicationVersionMismatchedEtag
-
Etag for RobotApplication does not match value during version creation.
- SimulationApplicationVersionMismatchedEtag
-
Etag for SimulationApplication does not match value during version creation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientRequestToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientRequestToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
Simulation job output files location.
- Parameters:
outputLocation
- Simulation job output files location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
default CreateSimulationJobResponse.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation) Simulation job output files location.
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
default CreateSimulationJobResponse.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 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.
- Parameters:
maxJobDurationInSeconds
- The maximum simulation job duration in seconds.- 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 job to call the AWS APIs that are specified in its associated policies on your behalf.
- Parameters:
iamRole
- The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
CreateSimulationJobResponse.Builder robotApplications(Collection<RobotApplicationConfig> robotApplications) The robot application used by the simulation job.
- Parameters:
robotApplications
- The robot application used by the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
The robot application used by the simulation job.
- Parameters:
robotApplications
- The robot application used by the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
robotApplications
CreateSimulationJobResponse.Builder robotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications) The robot application used by the simulation job.
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
CreateSimulationJobResponse.Builder simulationApplications(Collection<SimulationApplicationConfig> simulationApplications) The simulation application used by the simulation job.
- Parameters:
simulationApplications
- The simulation application used by the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
CreateSimulationJobResponse.Builder simulationApplications(SimulationApplicationConfig... simulationApplications) The simulation application used by the simulation job.
- Parameters:
simulationApplications
- The simulation application used by the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
simulationApplications
CreateSimulationJobResponse.Builder simulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications) The simulation application used by the simulation job.
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
The list of all tags added to the simulation job.
- Parameters:
tags
- The list of all tags added to the simulation job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Information about the vpc configuration.
- Parameters:
vpcConfig
- Information about the vpc configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default CreateSimulationJobResponse.Builder vpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig) Information about the vpc configuration.
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:
-
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:
-