ApiParcelRef (cloudera-manager-api-swagger 7.13.1 API)
Date: 2026-05-19

com.cloudera.api.swagger.model

## Class ApiParcelRef

- java.lang.Object
- - com.cloudera.api.swagger.model.ApiParcelRef

-     @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
                 date="2026-05-19T08:00:51.241Z[Etc/UTC]")
      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

    Constructors
    Constructor and Description
    `ApiParcelRef()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ApiParcelRef` | `clusterName(String clusterName)`
    `boolean` | `equals(Object o)`
    `String` | `getClusterName()` The name of the cluster that the parcel is used by.
    `String` | `getParcelDisplayName()` The display name of the parcel.
    `String` | `getParcelName()` The name of the parcel.
    `String` | `getParcelVersion()` The version of the parcel.
    `int` | `hashCode()`
    `ApiParcelRef` | `parcelDisplayName(String parcelDisplayName)`
    `ApiParcelRef` | `parcelName(String parcelName)`
    `ApiParcelRef` | `parcelVersion(String parcelVersion)`
    `void` | `setClusterName(String clusterName)`
    `void` | `setParcelDisplayName(String parcelDisplayName)`
    `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()

  - ### Method Detail

    - #### clusterName

          public ApiParcelRef clusterName(String clusterName)

    - #### getClusterName

          public String getClusterName()

      The name of the cluster that the parcel is used by.
      Returns:
        clusterName

    - #### setClusterName

          public void setClusterName(String clusterName)

    - #### parcelName

          public ApiParcelRef parcelName(String parcelName)

    - #### getParcelName

          public String getParcelName()

      The name of the parcel.
      Returns:
        parcelName

    - #### setParcelName

          public void setParcelName(String parcelName)

    - #### parcelVersion

          public ApiParcelRef parcelVersion(String parcelVersion)

    - #### getParcelVersion

          public String getParcelVersion()

      The version of the parcel.
      Returns:
        parcelVersion

    - #### setParcelVersion

          public void setParcelVersion(String parcelVersion)

    - #### parcelDisplayName

          public ApiParcelRef parcelDisplayName(String parcelDisplayName)

    - #### getParcelDisplayName

          public String getParcelDisplayName()

      The display name of the parcel. If set, available since v40.
      Returns:
        parcelDisplayName

    - #### setParcelDisplayName

          public void setParcelDisplayName(String parcelDisplayName)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2026. All rights reserved.