Class CfnDataSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSetProps>
- Enclosing interface:
CfnDataSetProps
CfnDataSetProps-
Constructor Summary
Constructors -
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()dataPrepConfiguration(IResolvable dataPrepConfiguration) Sets the value ofCfnDataSetProps.getDataPrepConfiguration()dataPrepConfiguration(CfnDataSet.DataPrepConfigurationProperty dataPrepConfiguration) Sets the value ofCfnDataSetProps.getDataPrepConfiguration()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()folderArns(List<String> folderArns) Sets the value ofCfnDataSetProps.getFolderArns()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) Deprecated.this property has been deprecatedlogicalTableMap(IResolvable logicalTableMap) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getName()performanceConfiguration(IResolvable performanceConfiguration) Sets the value ofCfnDataSetProps.getPerformanceConfiguration()performanceConfiguration(CfnDataSet.PerformanceConfigurationProperty performanceConfiguration) Sets the value ofCfnDataSetProps.getPerformanceConfiguration()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) Deprecated.this property has been deprecatedrowLevelPermissionDataSet(CfnDataSet.RowLevelPermissionDataSetProperty rowLevelPermissionDataSet) Deprecated.this property has been deprecatedrowLevelPermissionTagConfiguration(IResolvable rowLevelPermissionTagConfiguration) Deprecated.this property has been deprecatedrowLevelPermissionTagConfiguration(CfnDataSet.RowLevelPermissionTagConfigurationProperty rowLevelPermissionTagConfiguration) Deprecated.this property has been deprecatedsemanticModelConfiguration(IResolvable semanticModelConfiguration) Sets the value ofCfnDataSetProps.getSemanticModelConfiguration()semanticModelConfiguration(CfnDataSet.SemanticModelConfigurationProperty semanticModelConfiguration) Sets the value ofCfnDataSetProps.getSemanticModelConfiguration()Sets the value ofCfnDataSetProps.getTags()Sets the value ofCfnDataSetProps.getUseAs()
-
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 Quick Sight 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 Quick Sight 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
-
dataPrepConfiguration
@Stability(Stable) public CfnDataSetProps.Builder dataPrepConfiguration(IResolvable dataPrepConfiguration) Sets the value ofCfnDataSetProps.getDataPrepConfiguration()- Parameters:
dataPrepConfiguration- The data preparation configuration associated with this dataset.- Returns:
this
-
dataPrepConfiguration
@Stability(Stable) public CfnDataSetProps.Builder dataPrepConfiguration(CfnDataSet.DataPrepConfigurationProperty dataPrepConfiguration) Sets the value ofCfnDataSetProps.getDataPrepConfiguration()- Parameters:
dataPrepConfiguration- The data preparation configuration associated with this dataset.- 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- The parameters that are declared in a dataset.- Returns:
this
-
datasetParameters
@Stability(Stable) public CfnDataSetProps.Builder datasetParameters(List<? extends Object> datasetParameters) Sets the value ofCfnDataSetProps.getDatasetParameters()- Parameters:
datasetParameters- The parameters that are declared in a dataset.- Returns:
this
-
dataSetRefreshProperties
@Stability(Stable) public CfnDataSetProps.Builder dataSetRefreshProperties(IResolvable dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()- Parameters:
dataSetRefreshProperties- The refresh properties of a dataset.- Returns:
this
-
dataSetRefreshProperties
@Stability(Stable) public CfnDataSetProps.Builder dataSetRefreshProperties(CfnDataSet.DataSetRefreshPropertiesProperty dataSetRefreshProperties) Sets the value ofCfnDataSetProps.getDataSetRefreshProperties()- Parameters:
dataSetRefreshProperties- The refresh properties of a dataset.- 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
-
folderArns
Sets the value ofCfnDataSetProps.getFolderArns()- Parameters:
folderArns-When you create the dataset, Amazon QuickSight adds the dataset to these folders.
.- 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
@Stability(Deprecated) @Deprecated public CfnDataSetProps.Builder logicalTableMap(IResolvable logicalTableMap) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getLogicalTableMap()- Parameters:
logicalTableMap- the value to be set.- Returns:
this
-
logicalTableMap
@Stability(Deprecated) @Deprecated public CfnDataSetProps.Builder logicalTableMap(Map<String, ? extends Object> logicalTableMap) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getLogicalTableMap()- Parameters:
logicalTableMap- the value to be set.- Returns:
this
-
name
Sets the value ofCfnDataSetProps.getName()- Parameters:
name- The display name for the dataset.- Returns:
this
-
performanceConfiguration
@Stability(Stable) public CfnDataSetProps.Builder performanceConfiguration(IResolvable performanceConfiguration) Sets the value ofCfnDataSetProps.getPerformanceConfiguration()- Parameters:
performanceConfiguration- The performance optimization configuration of a dataset.- Returns:
this
-
performanceConfiguration
@Stability(Stable) public CfnDataSetProps.Builder performanceConfiguration(CfnDataSet.PerformanceConfigurationProperty performanceConfiguration) Sets the value ofCfnDataSetProps.getPerformanceConfiguration()- Parameters:
performanceConfiguration- The performance optimization configuration of a 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(Deprecated) @Deprecated public CfnDataSetProps.Builder rowLevelPermissionDataSet(IResolvable rowLevelPermissionDataSet) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()- Parameters:
rowLevelPermissionDataSet-Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.
The option to deny permissions by setting
PermissionPolicytoDENY_ACCESSis not supported for new RLS datasets.- Returns:
this
-
rowLevelPermissionDataSet
@Stability(Deprecated) @Deprecated public CfnDataSetProps.Builder rowLevelPermissionDataSet(CfnDataSet.RowLevelPermissionDataSetProperty rowLevelPermissionDataSet) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getRowLevelPermissionDataSet()- Parameters:
rowLevelPermissionDataSet-Information about a dataset that contains permissions for row-level security (RLS). The permissions dataset maps fields to users or groups. For more information, see Using Row-Level Security (RLS) to Restrict Access to a Dataset in the Amazon QuickSight User Guide.
The option to deny permissions by setting
PermissionPolicytoDENY_ACCESSis not supported for new RLS datasets.- Returns:
this
-
rowLevelPermissionTagConfiguration
@Stability(Deprecated) @Deprecated public CfnDataSetProps.Builder rowLevelPermissionTagConfiguration(IResolvable rowLevelPermissionTagConfiguration) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()- Parameters:
rowLevelPermissionTagConfiguration-The configuration of tags on a dataset to set row-level security.
- Returns:
this
-
rowLevelPermissionTagConfiguration
@Stability(Deprecated) @Deprecated public CfnDataSetProps.Builder rowLevelPermissionTagConfiguration(CfnDataSet.RowLevelPermissionTagConfigurationProperty rowLevelPermissionTagConfiguration) Deprecated.this property has been deprecatedSets the value ofCfnDataSetProps.getRowLevelPermissionTagConfiguration()- Parameters:
rowLevelPermissionTagConfiguration-The configuration of tags on a dataset to set row-level security.
- Returns:
this
-
semanticModelConfiguration
@Stability(Stable) public CfnDataSetProps.Builder semanticModelConfiguration(IResolvable semanticModelConfiguration) Sets the value ofCfnDataSetProps.getSemanticModelConfiguration()- Parameters:
semanticModelConfiguration- The semantic model configuration associated with this dataset.- Returns:
this
-
semanticModelConfiguration
@Stability(Stable) public CfnDataSetProps.Builder semanticModelConfiguration(CfnDataSet.SemanticModelConfigurationProperty semanticModelConfiguration) Sets the value ofCfnDataSetProps.getSemanticModelConfiguration()- Parameters:
semanticModelConfiguration- The semantic model configuration associated with this dataset.- 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
-
useAs
Sets the value ofCfnDataSetProps.getUseAs()- Parameters:
useAs- The usage of the dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataSetProps>- Returns:
- a new instance of
CfnDataSetProps - Throws:
NullPointerException- if any required attribute was not provided
-