public static final class CopyJobConfiguration.Builder extends JobConfiguration.Builder<CopyJobConfiguration,CopyJobConfiguration.Builder>
Modifier and Type | Method and Description |
---|---|
CopyJobConfiguration |
build()
Creates an object.
|
CopyJobConfiguration.Builder |
setCreateDisposition(JobInfo.CreateDisposition createDisposition)
Sets whether the job is allowed to create new tables.
|
CopyJobConfiguration.Builder |
setDestinationEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration) |
CopyJobConfiguration.Builder |
setDestinationTable(TableId destinationTable)
Sets the destination table of the copy job.
|
CopyJobConfiguration.Builder |
setSourceTables(List<TableId> sourceTables)
Sets the source tables to copy.
|
CopyJobConfiguration.Builder |
setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
Sets the action that should occur if the destination table already exists.
|
public CopyJobConfiguration.Builder setSourceTables(List<TableId> sourceTables)
public CopyJobConfiguration.Builder setDestinationTable(TableId destinationTable)
public CopyJobConfiguration.Builder setDestinationEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
public CopyJobConfiguration.Builder setCreateDisposition(JobInfo.CreateDisposition createDisposition)
public CopyJobConfiguration.Builder setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
public CopyJobConfiguration build()
JobConfiguration.Builder
build
in class JobConfiguration.Builder<CopyJobConfiguration,CopyJobConfiguration.Builder>
Copyright © 2019 Google LLC. All rights reserved.