@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getAccountAggregation() != null)
            sb.append("AccountAggregation: ").append(getAccountAggregation()).append(",");
        if (getAmiAggregation() != null)
            sb.append("AmiAggregation: ").append(getAmiAggregation()).append(",");
        if (getAwsEcrContainerAggregation() != null)
            sb.append("AwsEcrContainerAggregation: ").append(getAwsEcrContainerAggregation()).append(",");
        if (getEc2InstanceAggregation() != null)
            sb.append("Ec2InstanceAggregation: ").append(getEc2InstanceAggregation()).append(",");
        if (getFindingTypeAggregation() != null)
            sb.append("FindingTypeAggregation: ").append(getFindingTypeAggregation()).append(",");
        if (getImageLayerAggregation() != null)
            sb.append("ImageLayerAggregation: ").append(getImageLayerAggregation()).append(",");
        if (getLambdaFunctionAggregation() != null)
            sb.append("LambdaFunctionAggregation: ").append(getLambdaFunctionAggregation()).append(",");
        if (getLambdaLayerAggregation() != null)
            sb.append("LambdaLayerAggregation: ").append(getLambdaLayerAggregation()).append(",");
        if (getPackageAggregation() != null)
            sb.append("PackageAggregation: ").append(getPackageAggregation()).append(",");
        if (getRepositoryAggregation() != null)
            sb.append("RepositoryAggregation: ").append(getRepositoryAggregation()).append(",");
        if (getTitleAggregation() != null)
            sb.append("TitleAggregation: ").append(getTitleAggregation());
        sb.append("}");
        return sb.toString();
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-inspector2/src/main/java/com/amazonaws/services/inspector2/model/AggregationResponse.java