@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getUser() != null)
            sb.append("User: ").append(getUser()).append(",");
        if (getRoutingProfile() != null)
            sb.append("RoutingProfile: ").append(getRoutingProfile()).append(",");
        if (getHierarchyPath() != null)
            sb.append("HierarchyPath: ").append(getHierarchyPath()).append(",");
        if (getStatus() != null)
            sb.append("Status: ").append(getStatus()).append(",");
        if (getAvailableSlotsByChannel() != null)
            sb.append("AvailableSlotsByChannel: ").append(getAvailableSlotsByChannel()).append(",");
        if (getMaxSlotsByChannel() != null)
            sb.append("MaxSlotsByChannel: ").append(getMaxSlotsByChannel()).append(",");
        if (getActiveSlotsByChannel() != null)
            sb.append("ActiveSlotsByChannel: ").append(getActiveSlotsByChannel()).append(",");
        if (getContacts() != null)
            sb.append("Contacts: ").append(getContacts()).append(",");
        if (getNextStatus() != null)
            sb.append("NextStatus: ").append(getNextStatus());
        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-connect/src/main/java/com/amazonaws/services/connect/model/UserData.java