Interface PrivacyImpact.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PrivacyImpact.Builder,,PrivacyImpact> SdkBuilder<PrivacyImpact.Builder,,PrivacyImpact> SdkPojo
- Enclosing class:
PrivacyImpact
@Mutable
@NotThreadSafe
public static interface PrivacyImpact.Builder
extends SdkPojo, CopyableBuilder<PrivacyImpact.Builder,PrivacyImpact>
-
Method Summary
Modifier and TypeMethodDescriptiondefault PrivacyImpact.BuilderdifferentialPrivacy(Consumer<DifferentialPrivacyPrivacyImpact.Builder> differentialPrivacy) An object that lists the number and type of aggregation functions you can perform.differentialPrivacy(DifferentialPrivacyPrivacyImpact differentialPrivacy) An object that lists the number and type of aggregation functions you can perform.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 lists the number and type of aggregation functions you can perform.
- Parameters:
differentialPrivacy- An object that lists the number and type of aggregation functions you can perform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
differentialPrivacy
default PrivacyImpact.Builder differentialPrivacy(Consumer<DifferentialPrivacyPrivacyImpact.Builder> differentialPrivacy) An object that lists the number and type of aggregation functions you can perform.
This is a convenience method that creates an instance of theDifferentialPrivacyPrivacyImpact.Builderavoiding the need to create one manually viaDifferentialPrivacyPrivacyImpact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todifferentialPrivacy(DifferentialPrivacyPrivacyImpact).- Parameters:
differentialPrivacy- a consumer that will call methods onDifferentialPrivacyPrivacyImpact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-