Interface SimulationJob.Builder

    • 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.
      • 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 4XX error 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 4XX error 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 4XX error 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 4XX error 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
      • 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 SimulationJob request.

        Parameters:
        clientRequestToken - A unique identifier for this SimulationJob request.
        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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.
      • 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.