Class CfnDataSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSetProps>
- Enclosing interface:
CfnDataSetProps
@Stability(Stable)
public static final class CfnDataSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSetProps>
A builder for
CfnDataSetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId
(String awsAccountId) Sets the value ofCfnDataSetProps.getAwsAccountId()
build()
Builds the configured instance.columnGroups
(List<? extends Object> columnGroups) Sets the value ofCfnDataSetProps.getColumnGroups()
columnGroups
(IResolvable columnGroups) Sets the value ofCfnDataSetProps.getColumnGroups()
columnLevelPermissionRules
(List<? extends Object> columnLevelPermissionRules) Sets the value ofCfnDataSetProps.getColumnLevelPermissionRules()
columnLevelPermissionRules
(IResolvable columnLevelPermissionRules) Sets the value ofCfnDataSetProps.getColumnLevelPermissionRules()
Sets the value ofCfnDataSetProps.getDataSetId()
datasetParameters
(List<? extends Object> datasetParameters) Sets the value ofCfnDataSetProps.getDatasetParameters()
datasetParameters
(IResolvable datasetParameters) Sets the value ofCfnDataSetProps.getDatasetParameters()
dataSetRefreshProperties
(IResolvable dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()
dataSetRefreshProperties
(CfnDataSet.DataSetRefreshPropertiesProperty dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()
dataSetUsageConfiguration
(IResolvable dataSetUsageConfiguration) Sets the value ofCfnDataSetProps.getDataSetUsageConfiguration()
dataSetUsageConfiguration
(CfnDataSet.DataSetUsageConfigurationProperty dataSetUsageConfiguration) Sets the value ofCfnDataSetProps.getDataSetUsageConfiguration()
fieldFolders
(Map<String, ? extends Object> fieldFolders) Sets the value ofCfnDataSetProps.getFieldFolders()
fieldFolders
(IResolvable fieldFolders) Sets the value ofCfnDataSetProps.getFieldFolders()
importMode
(String importMode) Sets the value ofCfnDataSetProps.getImportMode()
ingestionWaitPolicy
(IResolvable ingestionWaitPolicy) Sets the value ofCfnDataSetProps.getIngestionWaitPolicy()
ingestionWaitPolicy
(CfnDataSet.IngestionWaitPolicyProperty ingestionWaitPolicy) Sets the value ofCfnDataSetProps.getIngestionWaitPolicy()
logicalTableMap
(Map<String, ? extends Object> logicalTableMap) Sets the value ofCfnDataSetProps.getLogicalTableMap()
logicalTableMap
(IResolvable logicalTableMap) Sets the value ofCfnDataSetProps.getLogicalTableMap()
Sets the value ofCfnDataSetProps.getName()
permissions
(List<? extends Object> permissions) Sets the value ofCfnDataSetProps.getPermissions()
permissions
(IResolvable permissions) Sets the value ofCfnDataSetProps.getPermissions()
physicalTableMap
(Map<String, ? extends Object> physicalTableMap) Sets the value ofCfnDataSetProps.getPhysicalTableMap()
physicalTableMap
(IResolvable physicalTableMap) Sets the value ofCfnDataSetProps.getPhysicalTableMap()
rowLevelPermissionDataSet
(IResolvable rowLevelPermissionDataSet) Sets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()
rowLevelPermissionDataSet
(CfnDataSet.RowLevelPermissionDataSetProperty rowLevelPermissionDataSet) Sets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()
rowLevelPermissionTagConfiguration
(IResolvable rowLevelPermissionTagConfiguration) Sets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()
rowLevelPermissionTagConfiguration
(CfnDataSet.RowLevelPermissionTagConfigurationProperty rowLevelPermissionTagConfiguration) Sets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()
Sets the value ofCfnDataSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
awsAccountId
Sets the value ofCfnDataSetProps.getAwsAccountId()
- Parameters:
awsAccountId
- The AWS account ID.- Returns:
this
-
columnGroups
Sets the value ofCfnDataSetProps.getColumnGroups()
- Parameters:
columnGroups
- Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.- Returns:
this
-
columnGroups
Sets the value ofCfnDataSetProps.getColumnGroups()
- Parameters:
columnGroups
- Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.- Returns:
this
-
columnLevelPermissionRules
@Stability(Stable) public CfnDataSetProps.Builder columnLevelPermissionRules(IResolvable columnLevelPermissionRules) Sets the value ofCfnDataSetProps.getColumnLevelPermissionRules()
- Parameters:
columnLevelPermissionRules
- A set of one or more definitions of aColumnLevelPermissionRule
.- Returns:
this
-
columnLevelPermissionRules
@Stability(Stable) public CfnDataSetProps.Builder columnLevelPermissionRules(List<? extends Object> columnLevelPermissionRules) Sets the value ofCfnDataSetProps.getColumnLevelPermissionRules()
- Parameters:
columnLevelPermissionRules
- A set of one or more definitions of aColumnLevelPermissionRule
.- Returns:
this
-
dataSetId
Sets the value ofCfnDataSetProps.getDataSetId()
- Parameters:
dataSetId
- An ID for the dataset that you want to create. This ID is unique per AWS Region for each AWS account.- Returns:
this
-
datasetParameters
Sets the value ofCfnDataSetProps.getDatasetParameters()
- Parameters:
datasetParameters
-AWS::QuickSight::DataSet.DatasetParameters
.- Returns:
this
-
datasetParameters
@Stability(Stable) public CfnDataSetProps.Builder datasetParameters(List<? extends Object> datasetParameters) Sets the value ofCfnDataSetProps.getDatasetParameters()
- Parameters:
datasetParameters
-AWS::QuickSight::DataSet.DatasetParameters
.- Returns:
this
-
dataSetRefreshProperties
@Stability(Stable) public CfnDataSetProps.Builder dataSetRefreshProperties(IResolvable dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()
- Parameters:
dataSetRefreshProperties
-AWS::QuickSight::DataSet.DataSetRefreshProperties
.- Returns:
this
-
dataSetRefreshProperties
@Stability(Stable) public CfnDataSetProps.Builder dataSetRefreshProperties(CfnDataSet.DataSetRefreshPropertiesProperty dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()
- Parameters:
dataSetRefreshProperties
-AWS::QuickSight::DataSet.DataSetRefreshProperties
.- Returns:
this
-
dataSetUsageConfiguration
@Stability(Stable) public CfnDataSetProps.Builder dataSetUsageConfiguration(IResolvable dataSetUsageConfiguration) Sets the value ofCfnDataSetProps.getDataSetUsageConfiguration()
- Parameters:
dataSetUsageConfiguration
- The usage configuration to apply to child datasets that reference this dataset as a source.- Returns:
this
-
dataSetUsageConfiguration
@Stability(Stable) public CfnDataSetProps.Builder dataSetUsageConfiguration(CfnDataSet.DataSetUsageConfigurationProperty dataSetUsageConfiguration) Sets the value ofCfnDataSetProps.getDataSetUsageConfiguration()
- Parameters:
dataSetUsageConfiguration
- The usage configuration to apply to child datasets that reference this dataset as a source.- Returns:
this
-
fieldFolders
Sets the value ofCfnDataSetProps.getFieldFolders()
- Parameters:
fieldFolders
- The folder that contains fields and nested subfolders for your dataset.- Returns:
this
-
fieldFolders
@Stability(Stable) public CfnDataSetProps.Builder fieldFolders(Map<String, ? extends Object> fieldFolders) Sets the value ofCfnDataSetProps.getFieldFolders()
- Parameters:
fieldFolders
- The folder that contains fields and nested subfolders for your dataset.- Returns:
this
-
importMode
Sets the value ofCfnDataSetProps.getImportMode()
- Parameters:
importMode
- Indicates whether you want to import the data into SPICE.- Returns:
this
-
ingestionWaitPolicy
@Stability(Stable) public CfnDataSetProps.Builder ingestionWaitPolicy(IResolvable ingestionWaitPolicy) Sets the value ofCfnDataSetProps.getIngestionWaitPolicy()
- Parameters:
ingestionWaitPolicy
- The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours.- Returns:
this
-
ingestionWaitPolicy
@Stability(Stable) public CfnDataSetProps.Builder ingestionWaitPolicy(CfnDataSet.IngestionWaitPolicyProperty ingestionWaitPolicy) Sets the value ofCfnDataSetProps.getIngestionWaitPolicy()
- Parameters:
ingestionWaitPolicy
- The wait policy to use when creating or updating a Dataset. The default is to wait for SPICE ingestion to finish with timeout of 36 hours.- Returns:
this
-
logicalTableMap
Sets the value ofCfnDataSetProps.getLogicalTableMap()
- Parameters:
logicalTableMap
- Configures the combination and transformation of the data from the physical tables.- Returns:
this
-
logicalTableMap
@Stability(Stable) public CfnDataSetProps.Builder logicalTableMap(Map<String, ? extends Object> logicalTableMap) Sets the value ofCfnDataSetProps.getLogicalTableMap()
- Parameters:
logicalTableMap
- Configures the combination and transformation of the data from the physical tables.- Returns:
this
-
name
Sets the value ofCfnDataSetProps.getName()
- Parameters:
name
- The display name for the dataset.- Returns:
this
-
permissions
Sets the value ofCfnDataSetProps.getPermissions()
- Parameters:
permissions
- A list of resource permissions on the dataset.- Returns:
this
-
permissions
Sets the value ofCfnDataSetProps.getPermissions()
- Parameters:
permissions
- A list of resource permissions on the dataset.- Returns:
this
-
physicalTableMap
Sets the value ofCfnDataSetProps.getPhysicalTableMap()
- Parameters:
physicalTableMap
- Declares the physical tables that are available in the underlying data sources.- Returns:
this
-
physicalTableMap
@Stability(Stable) public CfnDataSetProps.Builder physicalTableMap(Map<String, ? extends Object> physicalTableMap) Sets the value ofCfnDataSetProps.getPhysicalTableMap()
- Parameters:
physicalTableMap
- Declares the physical tables that are available in the underlying data sources.- Returns:
this
-
rowLevelPermissionDataSet
@Stability(Stable) public CfnDataSetProps.Builder rowLevelPermissionDataSet(IResolvable rowLevelPermissionDataSet) Sets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()
- Parameters:
rowLevelPermissionDataSet
- The row-level security configuration for the data that you want to create.- Returns:
this
-
rowLevelPermissionDataSet
@Stability(Stable) public CfnDataSetProps.Builder rowLevelPermissionDataSet(CfnDataSet.RowLevelPermissionDataSetProperty rowLevelPermissionDataSet) Sets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()
- Parameters:
rowLevelPermissionDataSet
- The row-level security configuration for the data that you want to create.- Returns:
this
-
rowLevelPermissionTagConfiguration
@Stability(Stable) public CfnDataSetProps.Builder rowLevelPermissionTagConfiguration(IResolvable rowLevelPermissionTagConfiguration) Sets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()
- Parameters:
rowLevelPermissionTagConfiguration
- The element you can use to define tags for row-level security.- Returns:
this
-
rowLevelPermissionTagConfiguration
@Stability(Stable) public CfnDataSetProps.Builder rowLevelPermissionTagConfiguration(CfnDataSet.RowLevelPermissionTagConfigurationProperty rowLevelPermissionTagConfiguration) Sets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()
- Parameters:
rowLevelPermissionTagConfiguration
- The element you can use to define tags for row-level security.- Returns:
this
-
tags
Sets the value ofCfnDataSetProps.getTags()
- Parameters:
tags
- Contains a map of the key-value pairs for the resource tag or tags assigned to the dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSetProps>
- Returns:
- a new instance of
CfnDataSetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-