Class BigqueryRoutineArguments.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.bigquery_routine.BigqueryRoutineArguments.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<BigqueryRoutineArguments>
- Enclosing interface:
- BigqueryRoutineArguments
@Stability(Stable) public static final class BigqueryRoutineArguments.Builder extends Object implements software.amazon.jsii.Builder<BigqueryRoutineArguments>
A builder forBigqueryRoutineArguments
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigqueryRoutineArguments.BuilderargumentKind(String argumentKind)Sets the value ofBigqueryRoutineArguments.getArgumentKind()BigqueryRoutineArgumentsbuild()Builds the configured instance.BigqueryRoutineArguments.BuilderdataType(String dataType)Sets the value ofBigqueryRoutineArguments.getDataType()BigqueryRoutineArguments.Buildermode(String mode)Sets the value ofBigqueryRoutineArguments.getMode()BigqueryRoutineArguments.Buildername(String name)Sets the value ofBigqueryRoutineArguments.getName()
-
-
-
Method Detail
-
argumentKind
@Stability(Stable) public BigqueryRoutineArguments.Builder argumentKind(String argumentKind)
Sets the value ofBigqueryRoutineArguments.getArgumentKind()- Parameters:
argumentKind- Defaults to FIXED_TYPE. Default value: "FIXED_TYPE" Possible values: ["FIXED_TYPE", "ANY_TYPE"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#argument_kind BigqueryRoutine#argument_kind}- Returns:
this
-
dataType
@Stability(Stable) public BigqueryRoutineArguments.Builder dataType(String dataType)
Sets the value ofBigqueryRoutineArguments.getDataType()- Parameters:
dataType- A JSON schema for the data type. Required unless argumentKind = ANY_TYPE. ~>**NOTE**: Because this field expects a JSON string, any changes to the string will create a diff, even if the JSON itself hasn't changed. If the API returns a different value for the same schema, e.g. it switched the order of values or replaced STRUCT field type with RECORD field type, we currently cannot suppress the recurring diff this causes. As a workaround, we recommend using the schema as returned by the API. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#data_type BigqueryRoutine#data_type}- Returns:
this
-
mode
@Stability(Stable) public BigqueryRoutineArguments.Builder mode(String mode)
Sets the value ofBigqueryRoutineArguments.getMode()- Parameters:
mode- Specifies whether the argument is input or output. Can be set for procedures only. Possible values: ["IN", "OUT", "INOUT"]. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#mode BigqueryRoutine#mode}- Returns:
this
-
name
@Stability(Stable) public BigqueryRoutineArguments.Builder name(String name)
Sets the value ofBigqueryRoutineArguments.getName()- Parameters:
name- The name of this argument. Can be absent for function return argument. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigquery_routine#name BigqueryRoutine#name}- Returns:
this
-
build
@Stability(Stable) public BigqueryRoutineArguments build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BigqueryRoutineArguments>- Returns:
- a new instance of
BigqueryRoutineArguments - Throws:
NullPointerException- if any required attribute was not provided
-
-