public DifferentialPrivacyPrivacyBudgetAggregation withType(DifferentialPrivacyAggregationType type) {
        this.type = type.toString();
        return this;
    }
<p>
The different types of aggregation functions that you can perform.
</p>

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