public DifferentialPrivacyPrivacyImpact withAggregations(java.util.Collection<DifferentialPrivacyPreviewAggregation> aggregations) {
        setAggregations(aggregations);
        return this;
    }
<p>
The number of aggregation functions that you can perform.
</p>

@param aggregations
       The number of aggregation functions that you can perform.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/DifferentialPrivacyPrivacyImpact.java