Class CfnConfiguredTable.AnalysisRuleCustomProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.AnalysisRuleCustomProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleCustomProperty>
- Enclosing interface:
CfnConfiguredTable.AnalysisRuleCustomProperty
@Stability(Stable)
public static final class CfnConfiguredTable.AnalysisRuleCustomProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleCustomProperty>
A builder for
CfnConfiguredTable.AnalysisRuleCustomProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalAnalyses
(String additionalAnalyses) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getAdditionalAnalyses()
allowedAnalyses
(List<String> allowedAnalyses) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getAllowedAnalyses()
allowedAnalysisProviders
(List<String> allowedAnalysisProviders) build()
Builds the configured instance.differentialPrivacy
(IResolvable differentialPrivacy) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getDifferentialPrivacy()
differentialPrivacy
(CfnConfiguredTable.DifferentialPrivacyProperty differentialPrivacy) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getDifferentialPrivacy()
disallowedOutputColumns
(List<String> disallowedOutputColumns)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedAnalyses
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder allowedAnalyses(List<String> allowedAnalyses) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getAllowedAnalyses()
- Parameters:
allowedAnalyses
- The ARN of the analysis templates that are allowed by the custom analysis rule. This parameter is required.- Returns:
this
-
additionalAnalyses
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder additionalAnalyses(String additionalAnalyses) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getAdditionalAnalyses()
- Parameters:
additionalAnalyses
- An indicator as to whether additional analyses (such as AWS Clean Rooms ML) can be applied to the output of the direct query.- Returns:
this
-
allowedAnalysisProviders
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder allowedAnalysisProviders(List<String> allowedAnalysisProviders) - Parameters:
allowedAnalysisProviders
- The IDs of the AWS accounts that are allowed to query by the custom analysis rule. Required whenallowedAnalyses
isANY_QUERY
.- Returns:
this
-
differentialPrivacy
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder differentialPrivacy(IResolvable differentialPrivacy) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getDifferentialPrivacy()
- Parameters:
differentialPrivacy
- The differential privacy configuration.- Returns:
this
-
differentialPrivacy
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder differentialPrivacy(CfnConfiguredTable.DifferentialPrivacyProperty differentialPrivacy) Sets the value ofCfnConfiguredTable.AnalysisRuleCustomProperty.getDifferentialPrivacy()
- Parameters:
differentialPrivacy
- The differential privacy configuration.- Returns:
this
-
disallowedOutputColumns
@Stability(Stable) public CfnConfiguredTable.AnalysisRuleCustomProperty.Builder disallowedOutputColumns(List<String> disallowedOutputColumns) - Parameters:
disallowedOutputColumns
- A list of columns that aren't allowed to be shown in the query output.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguredTable.AnalysisRuleCustomProperty>
- Returns:
- a new instance of
CfnConfiguredTable.AnalysisRuleCustomProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-