com.cloudera.api.model
Class ApiClusterRef

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

public class ApiClusterRef
extends Object

A clusterRef references a cluster. To operate on the cluster object, use the cluster API with the clusterName as the parameter.


Constructor Summary
ApiClusterRef()
           
ApiClusterRef(String clusterName)
           
 
Method Summary
 boolean equals(Object o)
           
 String getClusterName()
          The name of the cluster, which uniquely identifies it in a CM installation.
 int hashCode()
           
 void setClusterName(String clusterName)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApiClusterRef

public ApiClusterRef()

ApiClusterRef

public ApiClusterRef(String clusterName)
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()
The name of the cluster, which uniquely identifies it in a CM installation.


setClusterName

public void setClusterName(String clusterName)


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