com.cloudera.api.model
Class ApiHostRef

java.lang.Object
  extended by com.cloudera.api.model.ApiHostRef

public class ApiHostRef
extends Object

A reference to a host.


Constructor Summary
ApiHostRef()
           
ApiHostRef(String hostId)
           
 
Method Summary
 boolean equals(Object o)
           
 String getHostId()
          The unique host ID.
 int hashCode()
           
 void setHostId(String hostId)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiHostRef

public ApiHostRef()

ApiHostRef

public ApiHostRef(String hostId)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getHostId

public String getHostId()
The unique host ID.


setHostId

public void setHostId(String hostId)


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.