Class CfnConfiguredTable.DifferentialPrivacyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTable.DifferentialPrivacyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTable.DifferentialPrivacyProperty>
- Enclosing interface:
CfnConfiguredTable.DifferentialPrivacyProperty
@Stability(Stable)
public static final class CfnConfiguredTable.DifferentialPrivacyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTable.DifferentialPrivacyProperty>
A builder for
CfnConfiguredTable.DifferentialPrivacyProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnConfiguredTable.DifferentialPrivacyProperty.getColumns()
columns
(IResolvable columns) Sets the value ofCfnConfiguredTable.DifferentialPrivacyProperty.getColumns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
columns
@Stability(Stable) public CfnConfiguredTable.DifferentialPrivacyProperty.Builder columns(IResolvable columns) Sets the value ofCfnConfiguredTable.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. This parameter is required. 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 CfnConfiguredTable.DifferentialPrivacyProperty.Builder columns(List<? extends Object> columns) Sets the value ofCfnConfiguredTable.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. This parameter is required. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguredTable.DifferentialPrivacyProperty>
- Returns:
- a new instance of
CfnConfiguredTable.DifferentialPrivacyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-