Interface PrivacyBudget.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivacyBudget.Builder,,PrivacyBudget> SdkBuilder<PrivacyBudget.Builder,,PrivacyBudget> SdkPojo
- Enclosing class:
PrivacyBudget
@Mutable
@NotThreadSafe
public static interface PrivacyBudget.Builder
extends SdkPojo, CopyableBuilder<PrivacyBudget.Builder,PrivacyBudget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivacyBudget.BuilderaccessBudget(Consumer<AccessBudget.Builder> accessBudget) Access budget information associated with this privacy budget.accessBudget(AccessBudget accessBudget) Access budget information associated with this privacy budget.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.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
accessBudget
Access budget information associated with this privacy budget.
- Parameters:
accessBudget- Access budget information associated with this privacy budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessBudget
Access budget information associated with this privacy budget.
This is a convenience method that creates an instance of theAccessBudget.Builderavoiding the need to create one manually viaAccessBudget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaccessBudget(AccessBudget).- Parameters:
accessBudget- a consumer that will call methods onAccessBudget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-