Interface JobRun.Builder

    • Method Detail

      • id

        JobRun.Builder id​(String id)

        The ID of the job run.

        Parameters:
        id - The ID of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        JobRun.Builder name​(String name)

        The name of the job run.

        Parameters:
        name - The name of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • virtualClusterId

        JobRun.Builder virtualClusterId​(String virtualClusterId)

        The ID of the job run's virtual cluster.

        Parameters:
        virtualClusterId - The ID of the job run's virtual cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        JobRun.Builder arn​(String arn)

        The ARN of job run.

        Parameters:
        arn - The ARN of job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        JobRun.Builder state​(String state)

        The state of the job run.

        Parameters:
        state - The state of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobRunState, JobRunState
      • state

        JobRun.Builder state​(JobRunState state)

        The state of the job run.

        Parameters:
        state - The state of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        JobRunState, JobRunState
      • clientToken

        JobRun.Builder clientToken​(String clientToken)

        The client token used to start a job run.

        Parameters:
        clientToken - The client token used to start a job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionRoleArn

        JobRun.Builder executionRoleArn​(String executionRoleArn)

        The execution role ARN of the job run.

        Parameters:
        executionRoleArn - The execution role ARN of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • releaseLabel

        JobRun.Builder releaseLabel​(String releaseLabel)

        The release version of Amazon EMR.

        Parameters:
        releaseLabel - The release version of Amazon EMR.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configurationOverrides

        JobRun.Builder configurationOverrides​(ConfigurationOverrides configurationOverrides)

        The configuration settings that are used to override default configuration.

        Parameters:
        configurationOverrides - The configuration settings that are used to override default configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • jobDriver

        JobRun.Builder jobDriver​(JobDriver jobDriver)

        Parameters of job driver for the job run.

        Parameters:
        jobDriver - Parameters of job driver for the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        JobRun.Builder createdAt​(Instant createdAt)

        The date and time when the job run was created.

        Parameters:
        createdAt - The date and time when the job run was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdBy

        JobRun.Builder createdBy​(String createdBy)

        The user who created the job run.

        Parameters:
        createdBy - The user who created the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • finishedAt

        JobRun.Builder finishedAt​(Instant finishedAt)

        The date and time when the job run has finished.

        Parameters:
        finishedAt - The date and time when the job run has finished.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stateDetails

        JobRun.Builder stateDetails​(String stateDetails)

        Additional details of the job run state.

        Parameters:
        stateDetails - Additional details of the job run state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failureReason

        JobRun.Builder failureReason​(String failureReason)

        The reasons why the job run has failed.

        Parameters:
        failureReason - The reasons why the job run has failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailureReason, FailureReason
      • failureReason

        JobRun.Builder failureReason​(FailureReason failureReason)

        The reasons why the job run has failed.

        Parameters:
        failureReason - The reasons why the job run has failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        FailureReason, FailureReason
      • tags

        JobRun.Builder tags​(Map<String,​String> tags)

        The assigned tags of the job run.

        Parameters:
        tags - The assigned tags of the job run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retryPolicyConfiguration

        JobRun.Builder retryPolicyConfiguration​(RetryPolicyConfiguration retryPolicyConfiguration)

        The configuration of the retry policy that the job runs on.

        Parameters:
        retryPolicyConfiguration - The configuration of the retry policy that the job runs on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • retryPolicyExecution

        JobRun.Builder retryPolicyExecution​(RetryPolicyExecution retryPolicyExecution)

        The current status of the retry policy executed on the job.

        Parameters:
        retryPolicyExecution - The current status of the retry policy executed on the job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.