@ApiModelProperty(name = HostComponentResourceProvider.DESIRED_REPOSITORY_VERSION_PROPERTY_ID)
  public String getDesiredRepositoryVersion() {
    return desiredRepositoryVersion;
  }
Gets the desired repository of the component.

@return the desired repository.
ambari-server/src/main/java/org/apache/ambari/server/controller/ServiceComponentHostResponse.java