Interface JobRun.Builder

All Superinterfaces:
Buildable, CopyableBuilder<JobRun.Builder,JobRun>, SdkBuilder<JobRun.Builder,JobRun>, SdkPojo
Enclosing class:
JobRun

public static interface JobRun.Builder extends SdkPojo, CopyableBuilder<JobRun.Builder,JobRun>
  • Method Details

    • attempt

      JobRun.Builder attempt(Integer attempt)

      The number of times that DataBrew has attempted to run the job.

      Parameters:
      attempt - The number of times that DataBrew has attempted to run the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedOn

      JobRun.Builder completedOn(Instant completedOn)

      The date and time when the job completed processing.

      Parameters:
      completedOn - The date and time when the job completed processing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • datasetName

      JobRun.Builder datasetName(String datasetName)

      The name of the dataset for the job to process.

      Parameters:
      datasetName - The name of the dataset for the job to process.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      JobRun.Builder errorMessage(String errorMessage)

      A message indicating an error (if any) that was encountered when the job ran.

      Parameters:
      errorMessage - A message indicating an error (if any) that was encountered when the job ran.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • executionTime

      JobRun.Builder executionTime(Integer executionTime)

      The amount of time, in seconds, during which a job run consumed resources.

      Parameters:
      executionTime - The amount of time, in seconds, during which a job run consumed resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobName

      JobRun.Builder jobName(String jobName)

      The name of the job being processed during this run.

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

      JobRun.Builder runId(String runId)

      The unique identifier of the job run.

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

      JobRun.Builder state(String state)

      The current state of the job run entity itself.

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

      The current state of the job run entity itself.

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

      JobRun.Builder logSubscription(String logSubscription)

      The current status of Amazon CloudWatch logging for the job run.

      Parameters:
      logSubscription - The current status of Amazon CloudWatch logging for the job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logSubscription

      JobRun.Builder logSubscription(LogSubscription logSubscription)

      The current status of Amazon CloudWatch logging for the job run.

      Parameters:
      logSubscription - The current status of Amazon CloudWatch logging for the job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logGroupName

      JobRun.Builder logGroupName(String logGroupName)

      The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.

      Parameters:
      logGroupName - The name of an Amazon CloudWatch log group, where the job writes diagnostic messages when it runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      JobRun.Builder outputs(Collection<Output> outputs)

      One or more output artifacts from a job run.

      Parameters:
      outputs - One or more output artifacts from a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      JobRun.Builder outputs(Output... outputs)

      One or more output artifacts from a job run.

      Parameters:
      outputs - One or more output artifacts from a job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • outputs

      JobRun.Builder outputs(Consumer<Output.Builder>... outputs)

      One or more output artifacts from a job run.

      This is a convenience method that creates an instance of the Output.Builder avoiding the need to create one manually via Output.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to outputs(List<Output>).

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

      JobRun.Builder dataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)

      One or more artifacts that represent the Glue Data Catalog output from running the job.

      Parameters:
      dataCatalogOutputs - One or more artifacts that represent the Glue Data Catalog output from running the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataCatalogOutputs

      JobRun.Builder dataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)

      One or more artifacts that represent the Glue Data Catalog output from running the job.

      Parameters:
      dataCatalogOutputs - One or more artifacts that represent the Glue Data Catalog output from running the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataCatalogOutputs

      JobRun.Builder dataCatalogOutputs(Consumer<DataCatalogOutput.Builder>... dataCatalogOutputs)

      One or more artifacts that represent the Glue Data Catalog output from running the job.

      This is a convenience method that creates an instance of the DataCatalogOutput.Builder avoiding the need to create one manually via DataCatalogOutput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataCatalogOutputs(List<DataCatalogOutput>).

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

      JobRun.Builder databaseOutputs(Collection<DatabaseOutput> databaseOutputs)

      Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.

      Parameters:
      databaseOutputs - Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseOutputs

      JobRun.Builder databaseOutputs(DatabaseOutput... databaseOutputs)

      Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.

      Parameters:
      databaseOutputs - Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseOutputs

      JobRun.Builder databaseOutputs(Consumer<DatabaseOutput.Builder>... databaseOutputs)

      Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.

      This is a convenience method that creates an instance of the DatabaseOutput.Builder avoiding the need to create one manually via DatabaseOutput.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to databaseOutputs(List<DatabaseOutput>).

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

      JobRun.Builder recipeReference(RecipeReference recipeReference)

      The set of steps processed by the job.

      Parameters:
      recipeReference - The set of steps processed by the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recipeReference

      default JobRun.Builder recipeReference(Consumer<RecipeReference.Builder> recipeReference)

      The set of steps processed by the job.

      This is a convenience method that creates an instance of the RecipeReference.Builder avoiding the need to create one manually via RecipeReference.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recipeReference(RecipeReference).

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

      JobRun.Builder startedBy(String startedBy)

      The Amazon Resource Name (ARN) of the user who initiated the job run.

      Parameters:
      startedBy - The Amazon Resource Name (ARN) of the user who initiated the job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedOn

      JobRun.Builder startedOn(Instant startedOn)

      The date and time when the job run began.

      Parameters:
      startedOn - The date and time when the job run began.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSample

      JobRun.Builder jobSample(JobSample jobSample)

      A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.

      Parameters:
      jobSample - A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • jobSample

      default JobRun.Builder jobSample(Consumer<JobSample.Builder> jobSample)

      A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a JobSample value isn't provided, the default is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.

      This is a convenience method that creates an instance of the JobSample.Builder avoiding the need to create one manually via JobSample.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to jobSample(JobSample).

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

      JobRun.Builder validationConfigurations(Collection<ValidationConfiguration> validationConfigurations)

      List of validation configurations that are applied to the profile job run.

      Parameters:
      validationConfigurations - List of validation configurations that are applied to the profile job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationConfigurations

      JobRun.Builder validationConfigurations(ValidationConfiguration... validationConfigurations)

      List of validation configurations that are applied to the profile job run.

      Parameters:
      validationConfigurations - List of validation configurations that are applied to the profile job run.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationConfigurations

      JobRun.Builder validationConfigurations(Consumer<ValidationConfiguration.Builder>... validationConfigurations)

      List of validation configurations that are applied to the profile job run.

      This is a convenience method that creates an instance of the ValidationConfiguration.Builder avoiding the need to create one manually via ValidationConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationConfigurations(List<ValidationConfiguration>).

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