Class BigqueryRoutineRemoteFunctionOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_routine.BigqueryRoutineRemoteFunctionOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryRoutineRemoteFunctionOptions>
- Enclosing interface:
- BigqueryRoutineRemoteFunctionOptions
@Stability(Stable) public static final class BigqueryRoutineRemoteFunctionOptions.Builder extends Object implements software.amazon.jsii.Builder<BigqueryRoutineRemoteFunctionOptions>
A builder forBigqueryRoutineRemoteFunctionOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryRoutineRemoteFunctionOptionsbuild()Builds the configured instance.BigqueryRoutineRemoteFunctionOptions.Builderconnection(String connection)Sets the value ofBigqueryRoutineRemoteFunctionOptions.getConnection()BigqueryRoutineRemoteFunctionOptions.Builderendpoint(String endpoint)Sets the value ofBigqueryRoutineRemoteFunctionOptions.getEndpoint()BigqueryRoutineRemoteFunctionOptions.BuildermaxBatchingRows(String maxBatchingRows)Sets the value ofBigqueryRoutineRemoteFunctionOptions.getMaxBatchingRows()BigqueryRoutineRemoteFunctionOptions.BuilderuserDefinedContext(Map<String,String> userDefinedContext)Sets the value ofBigqueryRoutineRemoteFunctionOptions.getUserDefinedContext()
-
-
-
Method Detail
-
connection
@Stability(Stable) public BigqueryRoutineRemoteFunctionOptions.Builder connection(String connection)
Sets the value ofBigqueryRoutineRemoteFunctionOptions.getConnection()- Parameters:
connection- Fully qualified name of the user-provided connection object which holds the authentication information to send requests to the remote service. 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
-
endpoint
@Stability(Stable) public BigqueryRoutineRemoteFunctionOptions.Builder endpoint(String endpoint)
Sets the value ofBigqueryRoutineRemoteFunctionOptions.getEndpoint()- Parameters:
endpoint- Endpoint of the user-provided remote service, e.g. 'https://us-east1-my_gcf_project.cloudfunctions.net/remote_add'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#endpoint BigqueryRoutine#endpoint}- Returns:
this
-
maxBatchingRows
@Stability(Stable) public BigqueryRoutineRemoteFunctionOptions.Builder maxBatchingRows(String maxBatchingRows)
Sets the value ofBigqueryRoutineRemoteFunctionOptions.getMaxBatchingRows()- Parameters:
maxBatchingRows- Max number of rows in each batch sent to the remote service. If absent or if 0, BigQuery dynamically decides the number of rows in a batch. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#max_batching_rows BigqueryRoutine#max_batching_rows}- Returns:
this
-
userDefinedContext
@Stability(Stable) public BigqueryRoutineRemoteFunctionOptions.Builder userDefinedContext(Map<String,String> userDefinedContext)
Sets the value ofBigqueryRoutineRemoteFunctionOptions.getUserDefinedContext()- Parameters:
userDefinedContext- User-defined context as a set of key/value pairs, which will be sent as function invocation context together with batched arguments in the requests to the remote service. The total number of bytes of keys and values must be less than 8KB. 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#user_defined_context BigqueryRoutine#user_defined_context}- Returns:
this
-
build
@Stability(Stable) public BigqueryRoutineRemoteFunctionOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryRoutineRemoteFunctionOptions>- Returns:
- a new instance of
BigqueryRoutineRemoteFunctionOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-