com.cloudera.api.model
Class ApiRoleRef

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

public class ApiRoleRef
extends Object

A roleRef references a role. Each role is identified by its "roleName", the "serviceName" for the service it belongs to, and the "clusterName" in which the service resides. To operate on the role object, use the API with the those fields as parameters.


Constructor Summary
ApiRoleRef()
           
ApiRoleRef(String clusterName, String serviceName, String roleName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getClusterName()
           
 String getRoleName()
           
 String getServiceName()
           
 int hashCode()
           
 void setClusterName(String clusterName)
           
 void setRoleName(String roleName)
           
 void setServiceName(String serviceName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiRoleRef

public ApiRoleRef()

ApiRoleRef

public ApiRoleRef(String clusterName,
                  String serviceName,
                  String roleName)
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

getClusterName

public String getClusterName()

setClusterName

public void setClusterName(String clusterName)

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)

getRoleName

public String getRoleName()

setRoleName

public void setRoleName(String roleName)


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