|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiParcelRef
public class ApiParcelRef
A parcelRef references a parcel. Each parcel is identified by its "parcelName" and "parcelVersion", and the "clusterName" of the cluster that is using it. To operate on the parcel object, use the API with the those fields as parameters.
Constructor Summary | |
---|---|
ApiParcelRef()
|
|
ApiParcelRef(String clusterName,
String parcelName,
String parcelVersion)
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getClusterName()
The name of the cluster that the parcel is used by. |
String |
getParcelName()
The name of the parcel. |
String |
getParcelVersion()
The version of the parcel. |
int |
hashCode()
|
void |
setClusterName(String clusterName)
|
void |
setParcelName(String parcelName)
|
void |
setParcelVersion(String parcelVersion)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiParcelRef()
public ApiParcelRef(String clusterName, String parcelName, String parcelVersion)
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 getClusterName()
public void setClusterName(String clusterName)
public String getParcelName()
public void setParcelName(String parcelName)
public String getParcelVersion()
public void setParcelVersion(String parcelVersion)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |