Class CfnConfiguredTableMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanrooms.CfnConfiguredTableMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTableMixinProps>
- Enclosing interface:
CfnConfiguredTableMixinProps
@Stability(Stable)
public static final class CfnConfiguredTableMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTableMixinProps>
A builder for
CfnConfiguredTableMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedColumns(List<String> allowedColumns) Sets the value ofCfnConfiguredTableMixinProps.getAllowedColumns()analysisMethod(String analysisMethod) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisMethod()analysisRules(List<? extends Object> analysisRules) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisRules()analysisRules(IResolvable analysisRules) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisRules()build()Builds the configured instance.description(String description) Sets the value ofCfnConfiguredTableMixinProps.getDescription()Sets the value ofCfnConfiguredTableMixinProps.getName()selectedAnalysisMethods(List<String> selectedAnalysisMethods) Sets the value ofCfnConfiguredTableMixinProps.getSelectedAnalysisMethods()tableReference(CfnConfiguredTablePropsMixin.TableReferenceProperty tableReference) Sets the value ofCfnConfiguredTableMixinProps.getTableReference()tableReference(IResolvable tableReference) Sets the value ofCfnConfiguredTableMixinProps.getTableReference()Sets the value ofCfnConfiguredTableMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedColumns
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder allowedColumns(List<String> allowedColumns) Sets the value ofCfnConfiguredTableMixinProps.getAllowedColumns()- Parameters:
allowedColumns- The columns within the underlying AWS Glue table that can be used within collaborations.- Returns:
this
-
analysisMethod
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder analysisMethod(String analysisMethod) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisMethod()- Parameters:
analysisMethod- The analysis method for the configured table.DIRECT_QUERYallows SQL queries to be run directly on this table.DIRECT_JOBallows PySpark jobs to be run directly on this table.MULTIPLEallows both SQL queries and PySpark jobs to be run directly on this table.- Returns:
this
-
analysisRules
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder analysisRules(IResolvable analysisRules) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisRules()- Parameters:
analysisRules- The analysis rule that was created for the configured table.- Returns:
this
-
analysisRules
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder analysisRules(List<? extends Object> analysisRules) Sets the value ofCfnConfiguredTableMixinProps.getAnalysisRules()- Parameters:
analysisRules- The analysis rule that was created for the configured table.- Returns:
this
-
description
Sets the value ofCfnConfiguredTableMixinProps.getDescription()- Parameters:
description- A description for the configured table.- Returns:
this
-
name
Sets the value ofCfnConfiguredTableMixinProps.getName()- Parameters:
name- A name for the configured table.- Returns:
this
-
selectedAnalysisMethods
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder selectedAnalysisMethods(List<String> selectedAnalysisMethods) Sets the value ofCfnConfiguredTableMixinProps.getSelectedAnalysisMethods()- Parameters:
selectedAnalysisMethods- The selected analysis methods for the configured table.- Returns:
this
-
tableReference
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder tableReference(IResolvable tableReference) Sets the value ofCfnConfiguredTableMixinProps.getTableReference()- Parameters:
tableReference- The table that this configured table represents.- Returns:
this
-
tableReference
@Stability(Stable) public CfnConfiguredTableMixinProps.Builder tableReference(CfnConfiguredTablePropsMixin.TableReferenceProperty tableReference) Sets the value ofCfnConfiguredTableMixinProps.getTableReference()- Parameters:
tableReference- The table that this configured table represents.- Returns:
this
-
tags
Sets the value ofCfnConfiguredTableMixinProps.getTags()- Parameters:
tags- An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTableMixinProps>- Returns:
- a new instance of
CfnConfiguredTableMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-