Send feedback
Class CopyJobConfiguration.Builder (2.34.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.34.2 keyboard_arrow_down
public static final class CopyJobConfiguration . Builder extends JobConfiguration . Builder<CopyJobConfiguration , CopyJobConfiguration . Builder>
Methods
build()
public CopyJobConfiguration build ()
Overrides
setCreateDisposition(JobInfo.CreateDisposition createDisposition)
public CopyJobConfiguration . Builder setCreateDisposition ( JobInfo . CreateDisposition createDisposition )
setDestinationEncryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
public CopyJobConfiguration . Builder setDestinationEncryptionConfiguration ( EncryptionConfiguration encryptionConfiguration )
setDestinationExpirationTime(String destinationExpirationTime)
public CopyJobConfiguration . Builder setDestinationExpirationTime ( String destinationExpirationTime )
Parameter Name Description destinationExpirationTime
String
setDestinationTable(TableId destinationTable)
public CopyJobConfiguration . Builder setDestinationTable ( TableId destinationTable )
Sets the destination table of the copy job.
Parameter Name Description destinationTable
TableId
setJobTimeoutMs(Long jobTimeoutMs)
public CopyJobConfiguration . Builder setJobTimeoutMs ( Long jobTimeoutMs )
[Optional] Job timeout in milliseconds. If this time limit is exceeded, BigQuery may attempt
to terminate the job.
Parameter Name Description jobTimeoutMs
Long
jobTimeoutMs or null
for none
setLabels(Map<String,String> labels)
public CopyJobConfiguration . Builder setLabels ( Map<String , String> labels )
The labels associated with this job. You can use these to organize and group your jobs. Label
keys and values can be no longer than 63 characters, can only contain lowercase letters,
numeric characters, underscores and dashes. International characters are allowed. Label
values are optional. Label keys must start with a letter and each label in the list must have
a different key.
setOperationType(String operationType)
public CopyJobConfiguration . Builder setOperationType ( String operationType )
Parameter Name Description operationType
String
setSourceTables(List<TableId> sourceTables)
public CopyJobConfiguration . Builder setSourceTables ( List<TableId> sourceTables )
Sets the source tables to copy.
setWriteDisposition(JobInfo.WriteDisposition writeDisposition)
public CopyJobConfiguration . Builder setWriteDisposition ( JobInfo . WriteDisposition writeDisposition )
Sets the action that should occur if the destination table already exists.
See Also: Write Disposition
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-05 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{
"lastModified": "Last updated 2024-09-05 UTC.",
"confidential": False
}