@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getResourceArn() != null)
            sb.append("ResourceArn: ").append(getResourceArn()).append(",");
        if (getUseServiceLinkedRole() != null)
            sb.append("UseServiceLinkedRole: ").append(getUseServiceLinkedRole()).append(",");
        if (getRoleArn() != null)
            sb.append("RoleArn: ").append(getRoleArn()).append(",");
        if (getWithFederation() != null)
            sb.append("WithFederation: ").append(getWithFederation()).append(",");
        if (getHybridAccessEnabled() != null)
            sb.append("HybridAccessEnabled: ").append(getHybridAccessEnabled());
        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-lakeformation/src/main/java/com/amazonaws/services/lakeformation/model/RegisterResourceRequest.java