com.cloudera.api.model
Class ApiRoleRef
java.lang.Object
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.
ApiRoleRef
public ApiRoleRef()
ApiRoleRef
public ApiRoleRef(String clusterName,
String serviceName,
String roleName)
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.