|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiServiceRef
public class ApiServiceRef
A serviceRef references a service. It is identified by the "serviceName", "clusterName" (name of the cluster which the service belongs to) and an optional "peerName" (to reference a remote service i.e. services managed by other CM instances). To operate on the service object, use the API with those fields as parameters.
Constructor Summary | |
---|---|
ApiServiceRef()
|
|
ApiServiceRef(String clusterName,
String serviceName)
|
|
ApiServiceRef(String peerName,
String clusterName,
String serviceName)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getClusterName()
The enclosing cluster for this service. |
String |
getPeerName()
The name of the CM peer corresponding to the remote CM that manages the referenced service. |
String |
getServiceName()
The service name. |
int |
hashCode()
|
void |
setClusterName(String clusterName)
|
void |
setPeerName(String peerName)
|
void |
setServiceName(String serviceName)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiServiceRef()
public ApiServiceRef(String clusterName, String serviceName)
public ApiServiceRef(String peerName, String clusterName, String serviceName)
Method Detail |
---|
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String getPeerName()
public void setPeerName(String peerName)
public String getClusterName()
public void setClusterName(String clusterName)
public String getServiceName()
public void setServiceName(String serviceName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |