/**
   * This method will create a Link stub that includes the name only.
   *
   * @param id Identifier assigned to the link object.
   * @param name Asset name to be assigned to the link stub.
   * @return Link stub that includes the name and ID.
   */
  public static Link makeLinkStub(Integer id, String name) {
    Link retval = new Link();

    retval.setId((id != null ? id : 0));
    retval.setName((AWSUtil.isValued(name) ? name : null));

    return retval;
  }
  /**
   * This method will create a Link stub that includes the name only.
   *
   * @param name Asset name to be assigned to the link stub.
   * @return Link stub that includes the name.
   */
  public static Link makeLinkStub(String name) {
    Link retval = new Link();

    if (AWSUtil.isValued(name)) {
      retval.setName(name);
    }

    return retval;
  }