@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getDeviceCertificateId() != null)
            sb.append("DeviceCertificateId: ").append(getDeviceCertificateId()).append(",");
        if (getCaCertificateId() != null)
            sb.append("CaCertificateId: ").append(getCaCertificateId()).append(",");
        if (getCognitoIdentityPoolId() != null)
            sb.append("CognitoIdentityPoolId: ").append(getCognitoIdentityPoolId()).append(",");
        if (getClientId() != null)
            sb.append("ClientId: ").append(getClientId()).append(",");
        if (getPolicyVersionIdentifier() != null)
            sb.append("PolicyVersionIdentifier: ").append(getPolicyVersionIdentifier()).append(",");
        if (getAccount() != null)
            sb.append("Account: ").append(getAccount()).append(",");
        if (getIamRoleArn() != null)
            sb.append("IamRoleArn: ").append(getIamRoleArn()).append(",");
        if (getRoleAliasArn() != null)
            sb.append("RoleAliasArn: ").append(getRoleAliasArn()).append(",");
        if (getIssuerCertificateIdentifier() != null)
            sb.append("IssuerCertificateIdentifier: ").append(getIssuerCertificateIdentifier()).append(",");
        if (getDeviceCertificateArn() != null)
            sb.append("DeviceCertificateArn: ").append(getDeviceCertificateArn());
        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-iot/src/main/java/com/amazonaws/services/iot/model/ResourceIdentifier.java