@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getBucket() != null)
            sb.append("Bucket: ").append(getBucket()).append(",");
        if (getKeyPrefixes() != null)
            sb.append("KeyPrefixes: ").append(getKeyPrefixes()).append(",");
        if (getKeys() != null)
            sb.append("Keys: ").append(getKeys()).append(",");
        if (getS3AccessPointAlias() != null)
            sb.append("S3AccessPointAlias: ").append(getS3AccessPointAlias()).append(",");
        if (getS3AccessPointArn() != null)
            sb.append("S3AccessPointArn: ").append(getS3AccessPointArn()).append(",");
        if (getKmsKeysToGrant() != null)
            sb.append("KmsKeysToGrant: ").append(getKmsKeysToGrant());
        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-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/S3DataAccessAsset.java