Class CfnClassifierPropsMixin.CsvClassifierProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnClassifierPropsMixin.CsvClassifierProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClassifierPropsMixin.CsvClassifierProperty>
- Enclosing interface:
CfnClassifierPropsMixin.CsvClassifierProperty
@Stability(Stable)
public static final class CfnClassifierPropsMixin.CsvClassifierProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClassifierPropsMixin.CsvClassifierProperty>
A builder for
CfnClassifierPropsMixin.CsvClassifierProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowSingleColumn(Boolean allowSingleColumn) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getAllowSingleColumn()allowSingleColumn(IResolvable allowSingleColumn) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getAllowSingleColumn()build()Builds the configured instance.containsCustomDatatype(List<String> containsCustomDatatype) containsHeader(String containsHeader) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getContainsHeader()customDatatypeConfigured(Boolean customDatatypeConfigured) customDatatypeConfigured(IResolvable customDatatypeConfigured) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDelimiter()disableValueTrimming(Boolean disableValueTrimming) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDisableValueTrimming()disableValueTrimming(IResolvable disableValueTrimming) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDisableValueTrimming()Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getHeader()Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getName()quoteSymbol(String quoteSymbol) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getQuoteSymbol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowSingleColumn
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder allowSingleColumn(Boolean allowSingleColumn) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getAllowSingleColumn()- Parameters:
allowSingleColumn- Enables the processing of files that contain only one column.- Returns:
this
-
allowSingleColumn
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder allowSingleColumn(IResolvable allowSingleColumn) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getAllowSingleColumn()- Parameters:
allowSingleColumn- Enables the processing of files that contain only one column.- Returns:
this
-
containsCustomDatatype
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder containsCustomDatatype(List<String> containsCustomDatatype) - Parameters:
containsCustomDatatype- Indicates whether the CSV file contains custom data types.- Returns:
this
-
containsHeader
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder containsHeader(String containsHeader) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getContainsHeader()- Parameters:
containsHeader- Indicates whether the CSV file contains a header. A value ofUNKNOWNspecifies that the classifier will detect whether the CSV file contains headings.A value of
PRESENTspecifies that the CSV file contains headings.A value of
ABSENTspecifies that the CSV file does not contain headings.- Returns:
this
-
customDatatypeConfigured
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder customDatatypeConfigured(Boolean customDatatypeConfigured) - Parameters:
customDatatypeConfigured- Enables the configuration of custom data types.- Returns:
this
-
customDatatypeConfigured
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder customDatatypeConfigured(IResolvable customDatatypeConfigured) - Parameters:
customDatatypeConfigured- Enables the configuration of custom data types.- Returns:
this
-
delimiter
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder delimiter(String delimiter) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDelimiter()- Parameters:
delimiter- A custom symbol to denote what separates each column entry in the row.- Returns:
this
-
disableValueTrimming
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder disableValueTrimming(Boolean disableValueTrimming) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDisableValueTrimming()- Parameters:
disableValueTrimming- Specifies not to trim values before identifying the type of column values. The default value istrue.- Returns:
this
-
disableValueTrimming
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder disableValueTrimming(IResolvable disableValueTrimming) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getDisableValueTrimming()- Parameters:
disableValueTrimming- Specifies not to trim values before identifying the type of column values. The default value istrue.- Returns:
this
-
header
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder header(List<String> header) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getHeader()- Parameters:
header- A list of strings representing column names.- Returns:
this
-
name
Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getName()- Parameters:
name- The name of the classifier.- Returns:
this
-
quoteSymbol
@Stability(Stable) public CfnClassifierPropsMixin.CsvClassifierProperty.Builder quoteSymbol(String quoteSymbol) Sets the value ofCfnClassifierPropsMixin.CsvClassifierProperty.getQuoteSymbol()- Parameters:
quoteSymbol- A custom symbol to denote what combines content into a single column value. It must be different from the column delimiter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClassifierPropsMixin.CsvClassifierProperty>- Returns:
- a new instance of
CfnClassifierPropsMixin.CsvClassifierProperty - Throws:
NullPointerException- if any required attribute was not provided
-