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 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

      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

      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:
    • 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:
    • 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

      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 the OutputLocation.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).

      Parameters:
      outputLocation - a consumer that will call methods on OutputLocation.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the LoggingConfig.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).

      Parameters:
      loggingConfig - a consumer that will call methods on LoggingConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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

      The robot application used by the simulation job.

      This is a convenience method that creates an instance of the RobotApplicationConfig.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<RobotApplicationConfig>).

      Parameters:
      robotApplications - a consumer that will call methods on RobotApplicationConfig.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 the SimulationApplicationConfig.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<SimulationApplicationConfig>).

      Parameters:
      simulationApplications - a consumer that will call methods on SimulationApplicationConfig.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

      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

      The data sources for the simulation job.

      This is a convenience method that creates an instance of the DataSource.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<DataSource>).

      Parameters:
      dataSources - a consumer that will call methods on DataSource.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

      Information about the vpc configuration.

      This is a convenience method that creates an instance of the VPCConfigResponse.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).

      Parameters:
      vpcConfig - a consumer that will call methods on VPCConfigResponse.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 the ComputeResponse.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).

      Parameters:
      compute - a consumer that will call methods on ComputeResponse.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: