Class DataplexAssetDiscoverySpecCsvOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_asset.DataplexAssetDiscoverySpecCsvOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexAssetDiscoverySpecCsvOptions>
- Enclosing interface:
- DataplexAssetDiscoverySpecCsvOptions
@Stability(Stable) public static final class DataplexAssetDiscoverySpecCsvOptions.Builder extends Object implements software.amazon.jsii.Builder<DataplexAssetDiscoverySpecCsvOptions>
A builder forDataplexAssetDiscoverySpecCsvOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexAssetDiscoverySpecCsvOptionsbuild()Builds the configured instance.DataplexAssetDiscoverySpecCsvOptions.Builderdelimiter(String delimiter)Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDelimiter()DataplexAssetDiscoverySpecCsvOptions.BuilderdisableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDisableTypeInference()DataplexAssetDiscoverySpecCsvOptions.BuilderdisableTypeInference(Boolean disableTypeInference)Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDisableTypeInference()DataplexAssetDiscoverySpecCsvOptions.Builderencoding(String encoding)Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getEncoding()DataplexAssetDiscoverySpecCsvOptions.BuilderheaderRows(Number headerRows)Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getHeaderRows()
-
-
-
Method Detail
-
delimiter
@Stability(Stable) public DataplexAssetDiscoverySpecCsvOptions.Builder delimiter(String delimiter)
Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDelimiter()- Parameters:
delimiter- Optional. The delimiter being used to separate values. This defaults to ','. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#delimiter DataplexAsset#delimiter}- Returns:
this
-
disableTypeInference
@Stability(Stable) public DataplexAssetDiscoverySpecCsvOptions.Builder disableTypeInference(Boolean disableTypeInference)
Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDisableTypeInference()- Parameters:
disableTypeInference- Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings. 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 DataplexAssetDiscoverySpecCsvOptions.Builder disableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)
Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getDisableTypeInference()- Parameters:
disableTypeInference- Optional. Whether to disable the inference of data type for CSV data. If true, all columns will be registered as strings. 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 DataplexAssetDiscoverySpecCsvOptions.Builder encoding(String encoding)
Sets the value ofDataplexAssetDiscoverySpecCsvOptions.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
-
headerRows
@Stability(Stable) public DataplexAssetDiscoverySpecCsvOptions.Builder headerRows(Number headerRows)
Sets the value ofDataplexAssetDiscoverySpecCsvOptions.getHeaderRows()- Parameters:
headerRows- Optional. The number of rows to interpret as header rows that should be skipped when reading data rows. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_asset#header_rows DataplexAsset#header_rows}- Returns:
this
-
build
@Stability(Stable) public DataplexAssetDiscoverySpecCsvOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexAssetDiscoverySpecCsvOptions>- Returns:
- a new instance of
DataplexAssetDiscoverySpecCsvOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-