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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PrivacyBudget.BuilderdifferentialPrivacy(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.PrivacyBudget.BuilderdifferentialPrivacy(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 Detail
-
differentialPrivacy
PrivacyBudget.Builder 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.
- 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.Builderavoiding the need to create one manually viaDifferentialPrivacyPrivacyBudget.builder().When the
Consumercompletes,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:
differentialPrivacy(DifferentialPrivacyPrivacyBudget)
-
-