Class Job.Builder (2.40.2)

public static final class Job.Builder extends JobInfo.Builder

A builder for Job objects.

Inheritance

java.lang.Object > JobInfo.Builder > Job.Builder

Methods

build()

public Job build()

Creates a JobInfo object.

Returns
Type Description
Job
Overrides

setConfiguration(JobConfiguration configuration)

public Job.Builder setConfiguration(JobConfiguration configuration)

Sets a configuration for the JobInfo object. Use CopyJobConfiguration for a job that copies an existing table. Use ExtractJobConfiguration for a job that exports a table to Google Cloud Storage. Use LoadJobConfiguration for a job that loads data from Google Cloud Storage into a table. Use QueryJobConfiguration for a job that runs a query.

Parameter
Name Description
configuration JobConfiguration
Returns
Type Description
Job.Builder
Overrides

setJobId(JobId jobId)

public Job.Builder setJobId(JobId jobId)

Sets the job identity.

Parameter
Name Description
jobId JobId
Returns
Type Description
Job.Builder
Overrides