Interface DifferentialPrivacyConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DifferentialPrivacyConfiguration.Builder,
,DifferentialPrivacyConfiguration> SdkBuilder<DifferentialPrivacyConfiguration.Builder,
,DifferentialPrivacyConfiguration> SdkPojo
- Enclosing class:
DifferentialPrivacyConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncolumns
(Collection<DifferentialPrivacyColumn> columns) The name of the column (such as user_id) that contains the unique identifier of your users whose privacy you want to protect.columns
(Consumer<DifferentialPrivacyColumn.Builder>... columns) The name of the column (such as user_id) that contains the unique identifier of your users whose privacy you want to protect.columns
(DifferentialPrivacyColumn... columns) The name of the column (such as user_id) that contains the unique identifier of your users whose privacy you want to protect.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
-
columns
DifferentialPrivacyConfiguration.Builder columns(Consumer<DifferentialPrivacyColumn.Builder>... 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.
This is a convenience method that creates an instance of theDifferentialPrivacyColumn.Builder
avoiding the need to create one manually viaDifferentialPrivacyColumn.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocolumns(List<DifferentialPrivacyColumn>)
.- Parameters:
columns
- a consumer that will call methods onDifferentialPrivacyColumn.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-