Class CfnTable.CsvProperty.Builder
java.lang.Object
software.amazon.awscdk.services.dynamodb.CfnTable.CsvProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTable.CsvProperty>
- Enclosing interface:
CfnTable.CsvProperty
@Stability(Stable)
public static final class CfnTable.CsvProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTable.CsvProperty>
A builder for
CfnTable.CsvProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTable.CsvProperty.getDelimiter()
headerList
(List<String> headerList) Sets the value ofCfnTable.CsvProperty.getHeaderList()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
delimiter
Sets the value ofCfnTable.CsvProperty.getDelimiter()
- Parameters:
delimiter
- The delimiter used for separating items in the CSV file being imported.- Returns:
this
-
headerList
Sets the value ofCfnTable.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnTable.CsvProperty>
- Returns:
- a new instance of
CfnTable.CsvProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-