Class DataplexAssetDiscoverySpecJsonOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_asset.DataplexAssetDiscoverySpecJsonOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexAssetDiscoverySpecJsonOptions>
- Enclosing interface:
- DataplexAssetDiscoverySpecJsonOptions
@Stability(Stable) public static final class DataplexAssetDiscoverySpecJsonOptions.Builder extends Object implements software.amazon.jsii.Builder<DataplexAssetDiscoverySpecJsonOptions>
A builder forDataplexAssetDiscoverySpecJsonOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexAssetDiscoverySpecJsonOptionsbuild()Builds the configured instance.DataplexAssetDiscoverySpecJsonOptions.BuilderdisableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getDisableTypeInference()DataplexAssetDiscoverySpecJsonOptions.BuilderdisableTypeInference(Boolean disableTypeInference)Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getDisableTypeInference()DataplexAssetDiscoverySpecJsonOptions.Builderencoding(String encoding)Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getEncoding()
-
-
-
Method Detail
-
disableTypeInference
@Stability(Stable) public DataplexAssetDiscoverySpecJsonOptions.Builder disableTypeInference(Boolean disableTypeInference)
Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getDisableTypeInference()- Parameters:
disableTypeInference- Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#disable_type_inference DataplexAsset#disable_type_inference}- Returns:
this
-
disableTypeInference
@Stability(Stable) public DataplexAssetDiscoverySpecJsonOptions.Builder disableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)
Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getDisableTypeInference()- Parameters:
disableTypeInference- Optional. Whether to disable the inference of data type for Json data. If true, all columns will be registered as their primitive types (strings, number or boolean). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#disable_type_inference DataplexAsset#disable_type_inference}- Returns:
this
-
encoding
@Stability(Stable) public DataplexAssetDiscoverySpecJsonOptions.Builder encoding(String encoding)
Sets the value ofDataplexAssetDiscoverySpecJsonOptions.getEncoding()- Parameters:
encoding- Optional. The character encoding of the data. The default is UTF-8. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#encoding DataplexAsset#encoding}- Returns:
this
-
build
@Stability(Stable) public DataplexAssetDiscoverySpecJsonOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexAssetDiscoverySpecJsonOptions>- Returns:
- a new instance of
DataplexAssetDiscoverySpecJsonOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-