Class CfnDataCellsFilterProps.Builder
java.lang.Object
software.amazon.awscdk.services.lakeformation.CfnDataCellsFilterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataCellsFilterProps>
- Enclosing interface:
CfnDataCellsFilterProps
@Stability(Stable)
public static final class CfnDataCellsFilterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataCellsFilterProps>
A builder for
CfnDataCellsFilterProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.columnNames
(List<String> columnNames) Sets the value ofCfnDataCellsFilterProps.getColumnNames()
columnWildcard
(IResolvable columnWildcard) Sets the value ofCfnDataCellsFilterProps.getColumnWildcard()
columnWildcard
(CfnDataCellsFilter.ColumnWildcardProperty columnWildcard) Sets the value ofCfnDataCellsFilterProps.getColumnWildcard()
databaseName
(String databaseName) Sets the value ofCfnDataCellsFilterProps.getDatabaseName()
Sets the value ofCfnDataCellsFilterProps.getName()
rowFilter
(IResolvable rowFilter) Sets the value ofCfnDataCellsFilterProps.getRowFilter()
rowFilter
(CfnDataCellsFilter.RowFilterProperty rowFilter) Sets the value ofCfnDataCellsFilterProps.getRowFilter()
tableCatalogId
(String tableCatalogId) Sets the value ofCfnDataCellsFilterProps.getTableCatalogId()
Sets the value ofCfnDataCellsFilterProps.getTableName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseName
Sets the value ofCfnDataCellsFilterProps.getDatabaseName()
- Parameters:
databaseName
- UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required. A database in the Data Catalog .- Returns:
this
-
name
Sets the value ofCfnDataCellsFilterProps.getName()
- Parameters:
name
- UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required. The name given by the user to the data filter cell.- Returns:
this
-
tableCatalogId
Sets the value ofCfnDataCellsFilterProps.getTableCatalogId()
- Parameters:
tableCatalogId
- Catalog id string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required. The ID of the catalog to which the table belongs.- Returns:
this
-
tableName
Sets the value ofCfnDataCellsFilterProps.getTableName()
- Parameters:
tableName
- UTF-8 string, not less than 1 or more than 255 bytes long, matching the single-line string pattern . This parameter is required. A table in the database.- Returns:
this
-
columnNames
Sets the value ofCfnDataCellsFilterProps.getColumnNames()
- Parameters:
columnNames
- An array of UTF-8 strings. A list of column names.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnDataCellsFilterProps.Builder columnWildcard(CfnDataCellsFilter.ColumnWildcardProperty columnWildcard) Sets the value ofCfnDataCellsFilterProps.getColumnWildcard()
- Parameters:
columnWildcard
- A wildcard with exclusions. You must specify either aColumnNames
list or theColumnWildCard
.- Returns:
this
-
columnWildcard
@Stability(Stable) public CfnDataCellsFilterProps.Builder columnWildcard(IResolvable columnWildcard) Sets the value ofCfnDataCellsFilterProps.getColumnWildcard()
- Parameters:
columnWildcard
- A wildcard with exclusions. You must specify either aColumnNames
list or theColumnWildCard
.- Returns:
this
-
rowFilter
Sets the value ofCfnDataCellsFilterProps.getRowFilter()
- Parameters:
rowFilter
- A PartiQL predicate.- Returns:
this
-
rowFilter
@Stability(Stable) public CfnDataCellsFilterProps.Builder rowFilter(CfnDataCellsFilter.RowFilterProperty rowFilter) Sets the value ofCfnDataCellsFilterProps.getRowFilter()
- Parameters:
rowFilter
- A PartiQL predicate.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataCellsFilterProps>
- Returns:
- a new instance of
CfnDataCellsFilterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-