Class CfnTablePropsMixin.CsvProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dynamodb.CfnTablePropsMixin.CsvProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTablePropsMixin.CsvProperty>
- Enclosing interface:
CfnTablePropsMixin.CsvProperty
@Stability(Stable)
public static final class CfnTablePropsMixin.CsvProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTablePropsMixin.CsvProperty>
A builder for
CfnTablePropsMixin.CsvProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTablePropsMixin.CsvProperty.getDelimiter()headerList(List<String> headerList) Sets the value ofCfnTablePropsMixin.CsvProperty.getHeaderList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
Sets the value ofCfnTablePropsMixin.CsvProperty.getDelimiter()- Parameters:
delimiter- The delimiter used for separating items in the CSV file being imported.- Returns:
this
-
headerList
@Stability(Stable) public CfnTablePropsMixin.CsvProperty.Builder headerList(List<String> headerList) Sets the value ofCfnTablePropsMixin.CsvProperty.getHeaderList()- Parameters:
headerList- List of the headers used to specify a common header for all source CSV files being imported. If this field is specified then the first line of each CSV file is treated as data instead of the header. If this field is not specified the the first line of each CSV file is treated as the header.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTablePropsMixin.CsvProperty>- Returns:
- a new instance of
CfnTablePropsMixin.CsvProperty - Throws:
NullPointerException- if any required attribute was not provided
-