com.cloudera.api.model
Class ApiParcelUsageRole

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

public class ApiParcelUsageRole
extends Object

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


Constructor Summary
ApiParcelUsageRole()
           
 
Method Summary
 boolean equals(Object o)
           
 Set<ApiParcelRef> getParcelRefs()
          A collection of references to the parcels being used by the role.
 ApiRoleRef getRoleRef()
          A reference to the corresponding Role object.
 int hashCode()
           
 void setParcelRefs(Set<ApiParcelRef> parcelRefs)
           
 void setRoleRef(ApiRoleRef roleRef)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiParcelUsageRole

public ApiParcelUsageRole()
Method Detail

getRoleRef

public ApiRoleRef getRoleRef()
A reference to the corresponding Role object.


setRoleRef

public void setRoleRef(ApiRoleRef roleRef)

getParcelRefs

public Set<ApiParcelRef> getParcelRefs()
A collection of references to the parcels being used by the role.


setParcelRefs

public void setParcelRefs(Set<ApiParcelRef> parcelRefs)

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.