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

com.cloudera.api.swagger.model

## Class ApiParcelUsageParcel

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

-     @Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
                 date="2026-05-19T08:00:51.241Z[Etc/UTC]")
      public class ApiParcelUsageParcel
      extends Object

  This object is used to represent a parcel within an ApiParcelUsage.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApiParcelUsageParcel()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ApiParcelUsageParcel` | `activated(Boolean activated)`
    `boolean` | `equals(Object o)`
    `ApiParcelRef` | `getParcelRef()` Get parcelRef
    `BigDecimal` | `getProcessCount()` How many running processes on the cluster are using the parcel.
    `int` | `hashCode()`
    `Boolean` | `isActivated()` Is this parcel currently activated on the cluster.
    `ApiParcelUsageParcel` | `parcelRef(ApiParcelRef parcelRef)`
    `ApiParcelUsageParcel` | `processCount(BigDecimal processCount)`
    `void` | `setActivated(Boolean activated)`
    `void` | `setParcelRef(ApiParcelRef parcelRef)`
    `void` | `setProcessCount(BigDecimal processCount)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ApiParcelUsageParcel

          public ApiParcelUsageParcel()

  - ### Method Detail

    - #### parcelRef

          public ApiParcelUsageParcel parcelRef(ApiParcelRef parcelRef)

    - #### getParcelRef

          public ApiParcelRef getParcelRef()

      Get parcelRef
      Returns:
        parcelRef

    - #### setParcelRef

          public void setParcelRef(ApiParcelRef parcelRef)

    - #### processCount

          public ApiParcelUsageParcel processCount(BigDecimal processCount)

    - #### getProcessCount

          public BigDecimal getProcessCount()

      How many running processes on the cluster are using the parcel.
      Returns:
        processCount

    - #### setProcessCount

          public void setProcessCount(BigDecimal processCount)

    - #### activated

          public ApiParcelUsageParcel activated(Boolean activated)

    - #### isActivated

          public Boolean isActivated()

      Is this parcel currently activated on the cluster.
      Returns:
        activated

    - #### setActivated

          public void setActivated(Boolean activated)

    - #### 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.