Interface PrivacyBudget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PrivacyBudget.Builder,
,PrivacyBudget> SdkBuilder<PrivacyBudget.Builder,
,PrivacyBudget> SdkPojo
- Enclosing class:
PrivacyBudget
public static interface PrivacyBudget.Builder
extends SdkPojo, CopyableBuilder<PrivacyBudget.Builder,PrivacyBudget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivacyBudget.Builder
differentialPrivacy
(Consumer<DifferentialPrivacyPrivacyBudget.Builder> differentialPrivacy) An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.differentialPrivacy
(DifferentialPrivacyPrivacyBudget differentialPrivacy) An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.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
-
differentialPrivacy
An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.
- Parameters:
differentialPrivacy
- An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
differentialPrivacy
default PrivacyBudget.Builder differentialPrivacy(Consumer<DifferentialPrivacyPrivacyBudget.Builder> differentialPrivacy) An object that specifies the epsilon parameter and the utility in terms of total aggregations, as well as the remaining aggregations available.
This is a convenience method that creates an instance of theDifferentialPrivacyPrivacyBudget.Builder
avoiding the need to create one manually viaDifferentialPrivacyPrivacyBudget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todifferentialPrivacy(DifferentialPrivacyPrivacyBudget)
.- Parameters:
differentialPrivacy
- a consumer that will call methods onDifferentialPrivacyPrivacyBudget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-