Interface CreateSimulationJobResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSimulationJobResponse.Builder,CreateSimulationJobResponse>,RoboMakerResponse.Builder,SdkBuilder<CreateSimulationJobResponse.Builder,CreateSimulationJobResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateSimulationJobResponse
public static interface CreateSimulationJobResponse.Builder extends RoboMakerResponse.Builder, SdkPojo, CopyableBuilder<CreateSimulationJobResponse.Builder,CreateSimulationJobResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateSimulationJobResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the simulation job.CreateSimulationJobResponse.BuilderclientRequestToken(String clientRequestToken)Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.default CreateSimulationJobResponse.Buildercompute(Consumer<ComputeResponse.Builder> compute)Compute information for the simulation job.CreateSimulationJobResponse.Buildercompute(ComputeResponse compute)Compute information for the simulation job.CreateSimulationJobResponse.BuilderdataSources(Collection<DataSource> dataSources)The data sources for the simulation job.CreateSimulationJobResponse.BuilderdataSources(Consumer<DataSource.Builder>... dataSources)The data sources for the simulation job.CreateSimulationJobResponse.BuilderdataSources(DataSource... dataSources)The data sources for the simulation job.CreateSimulationJobResponse.BuilderfailureBehavior(String failureBehavior)the failure behavior for the simulation job.CreateSimulationJobResponse.BuilderfailureBehavior(FailureBehavior failureBehavior)the failure behavior for the simulation job.CreateSimulationJobResponse.BuilderfailureCode(String failureCode)The failure code of the simulation job if it failed:CreateSimulationJobResponse.BuilderfailureCode(SimulationJobErrorCode failureCode)The failure code of the simulation job if it failed:CreateSimulationJobResponse.BuilderiamRole(String iamRole)The IAM role that allows the simulation job to call the AWS APIs that are specified in its associated policies on your behalf.CreateSimulationJobResponse.BuilderlastStartedAt(Instant lastStartedAt)The time, in milliseconds since the epoch, when the simulation job was last started.CreateSimulationJobResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The time, in milliseconds since the epoch, when the simulation job was last updated.default CreateSimulationJobResponse.BuilderloggingConfig(Consumer<LoggingConfig.Builder> loggingConfig)The logging configuration.CreateSimulationJobResponse.BuilderloggingConfig(LoggingConfig loggingConfig)The logging configuration.CreateSimulationJobResponse.BuildermaxJobDurationInSeconds(Long maxJobDurationInSeconds)The maximum simulation job duration in seconds.default CreateSimulationJobResponse.BuilderoutputLocation(Consumer<OutputLocation.Builder> outputLocation)Simulation job output files location.CreateSimulationJobResponse.BuilderoutputLocation(OutputLocation outputLocation)Simulation job output files location.CreateSimulationJobResponse.BuilderrobotApplications(Collection<RobotApplicationConfig> robotApplications)The robot application used by the simulation job.CreateSimulationJobResponse.BuilderrobotApplications(Consumer<RobotApplicationConfig.Builder>... robotApplications)The robot application used by the simulation job.CreateSimulationJobResponse.BuilderrobotApplications(RobotApplicationConfig... robotApplications)The robot application used by the simulation job.CreateSimulationJobResponse.BuildersimulationApplications(Collection<SimulationApplicationConfig> simulationApplications)The simulation application used by the simulation job.CreateSimulationJobResponse.BuildersimulationApplications(Consumer<SimulationApplicationConfig.Builder>... simulationApplications)The simulation application used by the simulation job.CreateSimulationJobResponse.BuildersimulationApplications(SimulationApplicationConfig... simulationApplications)The simulation application used by the simulation job.CreateSimulationJobResponse.BuildersimulationTimeMillis(Long simulationTimeMillis)The simulation job execution duration in milliseconds.CreateSimulationJobResponse.Builderstatus(String status)The status of the simulation job.CreateSimulationJobResponse.Builderstatus(SimulationJobStatus status)The status of the simulation job.CreateSimulationJobResponse.Buildertags(Map<String,String> tags)The list of all tags added to the simulation job.default CreateSimulationJobResponse.BuildervpcConfig(Consumer<VPCConfigResponse.Builder> vpcConfig)Information about the vpc configuration.CreateSimulationJobResponse.BuildervpcConfig(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 Detail
-
arn
CreateSimulationJobResponse.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.
-
status
CreateSimulationJobResponse.Builder status(String 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:
SimulationJobStatus,SimulationJobStatus
-
status
CreateSimulationJobResponse.Builder status(SimulationJobStatus 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:
SimulationJobStatus,SimulationJobStatus
-
lastStartedAt
CreateSimulationJobResponse.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
CreateSimulationJobResponse.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
CreateSimulationJobResponse.Builder failureBehavior(String 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,FailureBehavior
-
failureBehavior
CreateSimulationJobResponse.Builder failureBehavior(FailureBehavior 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,FailureBehavior
-
failureCode
CreateSimulationJobResponse.Builder failureCode(String 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:
SimulationJobErrorCode,SimulationJobErrorCode
-
failureCode
CreateSimulationJobResponse.Builder failureCode(SimulationJobErrorCode 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:
SimulationJobErrorCode,SimulationJobErrorCode
-
clientRequestToken
CreateSimulationJobResponse.Builder clientRequestToken(String 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
CreateSimulationJobResponse.Builder outputLocation(OutputLocation 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.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
CreateSimulationJobResponse.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 CreateSimulationJobResponse.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
CreateSimulationJobResponse.Builder maxJobDurationInSeconds(Long 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
CreateSimulationJobResponse.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
CreateSimulationJobResponse.Builder iamRole(String 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
CreateSimulationJobResponse.Builder robotApplications(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
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.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
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.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
CreateSimulationJobResponse.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
CreateSimulationJobResponse.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
CreateSimulationJobResponse.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
CreateSimulationJobResponse.Builder tags(Map<String,String> 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
CreateSimulationJobResponse.Builder vpcConfig(VPCConfigResponse 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.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)
-
compute
CreateSimulationJobResponse.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 CreateSimulationJobResponse.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)
-
-