com.cloudera.api.model
Class ApiParcelRef

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

public class ApiParcelRef
extends Object

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

ApiParcelRef

public ApiParcelRef()

ApiParcelRef

public ApiParcelRef(String clusterName,
                    String parcelName,
                    String parcelVersion)
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 that the parcel is used by.


setClusterName

public void setClusterName(String clusterName)

getParcelName

public String getParcelName()
The name of the parcel.


setParcelName

public void setParcelName(String parcelName)

getParcelVersion

public String getParcelVersion()
The version of the parcel.


setParcelVersion

public void setParcelVersion(String parcelVersion)


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