Class BigqueryRoutineSparkOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_routine.BigqueryRoutineSparkOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryRoutineSparkOptions>
- Enclosing interface:
- BigqueryRoutineSparkOptions
@Stability(Stable) public static final class BigqueryRoutineSparkOptions.Builder extends Object implements software.amazon.jsii.Builder<BigqueryRoutineSparkOptions>
A builder forBigqueryRoutineSparkOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
archiveUris
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder archiveUris(List<String> archiveUris)
Sets the value ofBigqueryRoutineSparkOptions.getArchiveUris()- Parameters:
archiveUris- Archive files to be extracted into the working directory of each executor. For more information about Apache Spark, see Apache Spark. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#archive_uris BigqueryRoutine#archive_uris}- Returns:
this
-
connection
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder connection(String connection)
Sets the value ofBigqueryRoutineSparkOptions.getConnection()- Parameters:
connection- Fully qualified name of the user-provided Spark connection object. Format: "projects/{projectId}/locations/{locationId}/connections/{connectionId}". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#connection BigqueryRoutine#connection}- Returns:
this
-
containerImage
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder containerImage(String containerImage)
Sets the value ofBigqueryRoutineSparkOptions.getContainerImage()- Parameters:
containerImage- Custom container image for the runtime environment. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#container_image BigqueryRoutine#container_image}- Returns:
this
-
fileUris
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder fileUris(List<String> fileUris)
Sets the value ofBigqueryRoutineSparkOptions.getFileUris()- Parameters:
fileUris- Files to be placed in the working directory of each executor. For more information about Apache Spark, see Apache Spark. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#file_uris BigqueryRoutine#file_uris}- Returns:
this
-
jarUris
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder jarUris(List<String> jarUris)
Sets the value ofBigqueryRoutineSparkOptions.getJarUris()- Parameters:
jarUris- JARs to include on the driver and executor CLASSPATH. For more information about Apache Spark, see Apache Spark. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#jar_uris BigqueryRoutine#jar_uris}- Returns:
this
-
mainClass
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder mainClass(String mainClass)
Sets the value ofBigqueryRoutineSparkOptions.getMainClass()- Parameters:
mainClass- The fully qualified name of a class in jarUris, for example, com.example.wordcount. Exactly one of mainClass and main_jar_uri field should be set for Java/Scala language type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#main_class BigqueryRoutine#main_class}- Returns:
this
-
mainFileUri
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder mainFileUri(String mainFileUri)
Sets the value ofBigqueryRoutineSparkOptions.getMainFileUri()- Parameters:
mainFileUri- The main file/jar URI of the Spark application. Exactly one of the definitionBody field and the mainFileUri field must be set for Python. Exactly one of mainClass and mainFileUri field should be set for Java/Scala language type. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#main_file_uri BigqueryRoutine#main_file_uri}- Returns:
this
-
properties
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder properties(Map<String,String> properties)
Sets the value ofBigqueryRoutineSparkOptions.getProperties()- Parameters:
properties- Configuration properties as a set of key/value pairs, which will be passed on to the Spark application. For more information, see Apache Spark and the procedure option list. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#properties BigqueryRoutine#properties}- Returns:
this
-
pyFileUris
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder pyFileUris(List<String> pyFileUris)
Sets the value ofBigqueryRoutineSparkOptions.getPyFileUris()- Parameters:
pyFileUris- Python files to be placed on the PYTHONPATH for PySpark application. Supported file types: .py, .egg, and .zip. For more information about Apache Spark, see Apache Spark. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#py_file_uris BigqueryRoutine#py_file_uris}- Returns:
this
-
runtimeVersion
@Stability(Stable) public BigqueryRoutineSparkOptions.Builder runtimeVersion(String runtimeVersion)
Sets the value ofBigqueryRoutineSparkOptions.getRuntimeVersion()- Parameters:
runtimeVersion- Runtime version. If not specified, the default runtime version is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#runtime_version BigqueryRoutine#runtime_version}- Returns:
this
-
build
@Stability(Stable) public BigqueryRoutineSparkOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryRoutineSparkOptions>- Returns:
- a new instance of
BigqueryRoutineSparkOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-