com.cloudera.api.model
Class ApiParcelUsageHost

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

public class ApiParcelUsageHost
extends Object

This object is used to represent a host within an ApiParcelUsage.


Constructor Summary
ApiParcelUsageHost()
           
 
Method Summary
 boolean equals(Object o)
           
 ApiHostRef getHostRef()
          A reference to the corresponding Host object.
 Set<ApiParcelUsageRole> getRoles()
          A collection of the roles present on the host.
 int hashCode()
           
 void setHostRef(ApiHostRef hostRef)
           
 void setRoles(Set<ApiParcelUsageRole> roles)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiParcelUsageHost

public ApiParcelUsageHost()
Method Detail

getHostRef

public ApiHostRef getHostRef()
A reference to the corresponding Host object.


setHostRef

public void setHostRef(ApiHostRef hostRef)

getRoles

public Set<ApiParcelUsageRole> getRoles()
A collection of the roles present on the host.


setRoles

public void setRoles(Set<ApiParcelUsageRole> roles)

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


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