Class CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanrooms.CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty>
- Enclosing interface:
CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty
@Stability(Stable)
public static final class CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty>
A builder for
CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.getColumns()columns(IResolvable columns) Sets the value ofCfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.getColumns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.Builder columns(IResolvable columns) Sets the value ofCfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.getColumns()- Parameters:
columns- The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect. If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.- Returns:
this
-
columns
@Stability(Stable) public CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnConfiguredTablePropsMixin.DifferentialPrivacyProperty.getColumns()- Parameters:
columns- The name of the column, such as user_id, that contains the unique identifier of your users, whose privacy you want to protect. If you want to turn on differential privacy for two or more tables in a collaboration, you must configure the same column as the user identifier column in both analysis rules.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty>- Returns:
- a new instance of
CfnConfiguredTablePropsMixin.DifferentialPrivacyProperty - Throws:
NullPointerException- if any required attribute was not provided
-