public AggregationResponse withAmiAggregation(AmiAggregationResponse amiAggregation) {
        setAmiAggregation(amiAggregation);
        return this;
    }
<p>
An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
</p>

@param amiAggregation
       An object that contains details about an aggregation response based on Amazon Machine Images (AMIs).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/AggregationResponse.java