@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getEbsSnapshot() != null)
            sb.append("EbsSnapshot: ").append(getEbsSnapshot()).append(",");
        if (getEcrRepository() != null)
            sb.append("EcrRepository: ").append(getEcrRepository()).append(",");
        if (getIamRole() != null)
            sb.append("IamRole: ").append(getIamRole()).append(",");
        if (getEfsFileSystem() != null)
            sb.append("EfsFileSystem: ").append(getEfsFileSystem()).append(",");
        if (getKmsKey() != null)
            sb.append("KmsKey: ").append(getKmsKey()).append(",");
        if (getRdsDbClusterSnapshot() != null)
            sb.append("RdsDbClusterSnapshot: ").append(getRdsDbClusterSnapshot()).append(",");
        if (getRdsDbSnapshot() != null)
            sb.append("RdsDbSnapshot: ").append(getRdsDbSnapshot()).append(",");
        if (getSecretsManagerSecret() != null)
            sb.append("SecretsManagerSecret: ").append(getSecretsManagerSecret()).append(",");
        if (getS3Bucket() != null)
            sb.append("S3Bucket: ").append(getS3Bucket()).append(",");
        if (getSnsTopic() != null)
            sb.append("SnsTopic: ").append(getSnsTopic()).append(",");
        if (getSqsQueue() != null)
            sb.append("SqsQueue: ").append(getSqsQueue()).append(",");
        if (getS3ExpressDirectoryBucket() != null)
            sb.append("S3ExpressDirectoryBucket: ").append(getS3ExpressDirectoryBucket()).append(",");
        if (getDynamodbStream() != null)
            sb.append("DynamodbStream: ").append(getDynamodbStream()).append(",");
        if (getDynamodbTable() != null)
            sb.append("DynamodbTable: ").append(getDynamodbTable());
        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-accessanalyzer/src/main/java/com/amazonaws/services/accessanalyzer/model/Configuration.java