Class DataplexZoneDiscoverySpecCsvOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_zone.DataplexZoneDiscoverySpecCsvOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexZoneDiscoverySpecCsvOptions>
- Enclosing interface:
- DataplexZoneDiscoverySpecCsvOptions
@Stability(Stable) public static final class DataplexZoneDiscoverySpecCsvOptions.Builder extends Object implements software.amazon.jsii.Builder<DataplexZoneDiscoverySpecCsvOptions>
A builder forDataplexZoneDiscoverySpecCsvOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataplexZoneDiscoverySpecCsvOptionsbuild()Builds the configured instance.DataplexZoneDiscoverySpecCsvOptions.Builderdelimiter(String delimiter)Sets the value ofDataplexZoneDiscoverySpecCsvOptions.getDelimiter()DataplexZoneDiscoverySpecCsvOptions.BuilderdisableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)Sets the value ofDataplexZoneDiscoverySpecCsvOptions.getDisableTypeInference()DataplexZoneDiscoverySpecCsvOptions.BuilderdisableTypeInference(Boolean disableTypeInference)Sets the value ofDataplexZoneDiscoverySpecCsvOptions.getDisableTypeInference()DataplexZoneDiscoverySpecCsvOptions.Builderencoding(String encoding)Sets the value ofDataplexZoneDiscoverySpecCsvOptions.getEncoding()DataplexZoneDiscoverySpecCsvOptions.BuilderheaderRows(Number headerRows)Sets the value ofDataplexZoneDiscoverySpecCsvOptions.getHeaderRows()
-
-
-
Method Detail
-
delimiter
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions.Builder delimiter(String delimiter)
Sets the value ofDataplexZoneDiscoverySpecCsvOptions.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_zone#delimiter DataplexZone#delimiter}- Returns:
this
-
disableTypeInference
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions.Builder disableTypeInference(Boolean disableTypeInference)
Sets the value ofDataplexZoneDiscoverySpecCsvOptions.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_zone#disable_type_inference DataplexZone#disable_type_inference}- Returns:
this
-
disableTypeInference
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions.Builder disableTypeInference(com.hashicorp.cdktf.IResolvable disableTypeInference)
Sets the value ofDataplexZoneDiscoverySpecCsvOptions.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_zone#disable_type_inference DataplexZone#disable_type_inference}- Returns:
this
-
encoding
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions.Builder encoding(String encoding)
Sets the value ofDataplexZoneDiscoverySpecCsvOptions.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_zone#encoding DataplexZone#encoding}- Returns:
this
-
headerRows
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions.Builder headerRows(Number headerRows)
Sets the value ofDataplexZoneDiscoverySpecCsvOptions.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_zone#header_rows DataplexZone#header_rows}- Returns:
this
-
build
@Stability(Stable) public DataplexZoneDiscoverySpecCsvOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexZoneDiscoverySpecCsvOptions>- Returns:
- a new instance of
DataplexZoneDiscoverySpecCsvOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-