Class UpgradeClusterRequest

java.lang.Object
com.cloudera.cdp.datahub.model.UpgradeClusterRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-05-14T11:34:32.759-07:00") public class UpgradeClusterRequest extends Object
Request object to upgrade datahub.
  • Constructor Details Link icon

    • UpgradeClusterRequest Link icon

      public UpgradeClusterRequest()
  • Method Details Link icon

    • getClusterName Link icon

      public String getClusterName()
      Getter for clusterName. The name or CRN of the datahub.
    • setClusterName Link icon

      public void setClusterName(String clusterName)
      Setter for clusterName. The name or CRN of the datahub.
    • getImageId Link icon

      public String getImageId()
      Getter for imageId. The id of an image to upgrade to.
    • setImageId Link icon

      public void setImageId(String imageId)
      Setter for imageId. The id of an image to upgrade to.
    • getRuntime Link icon

      public String getRuntime()
      Getter for runtime. The runtime version to upgrade to.
    • setRuntime Link icon

      public void setRuntime(String runtime)
      Setter for runtime. The runtime version to upgrade to.
    • getLockComponents Link icon

      public Boolean getLockComponents()
      Getter for lockComponents. Perform an os upgrade only.
    • setLockComponents Link icon

      public void setLockComponents(Boolean lockComponents)
      Setter for lockComponents. Perform an os upgrade only.
    • getDryRun Link icon

      public Boolean getDryRun()
      Getter for dryRun. Checks the eligibility of an image to upgrade but do not perform the upgrade.
    • setDryRun Link icon

      public void setDryRun(Boolean dryRun)
      Setter for dryRun. Checks the eligibility of an image to upgrade but do not perform the upgrade.
    • getShowAvailableImages Link icon

      public Boolean getShowAvailableImages()
      Getter for showAvailableImages. Returns the list of images that are eligible for the upgrade.
    • setShowAvailableImages Link icon

      public void setShowAvailableImages(Boolean showAvailableImages)
      Setter for showAvailableImages. Returns the list of images that are eligible for the upgrade.
    • getShowLatestAvailableImagePerRuntime Link icon

      public Boolean getShowLatestAvailableImagePerRuntime()
      Getter for showLatestAvailableImagePerRuntime. Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate.
    • setShowLatestAvailableImagePerRuntime Link icon

      public void setShowLatestAvailableImagePerRuntime(Boolean showLatestAvailableImagePerRuntime)
      Setter for showLatestAvailableImagePerRuntime. Returns the latest image that is eligible for the upgrade for each runtime version with at least one available upgrade candidate.
    • getRollingUpgradeEnabled Link icon

      public Boolean getRollingUpgradeEnabled()
      Getter for rollingUpgradeEnabled. Enables the ability to perform rolling runtime upgrade.
    • setRollingUpgradeEnabled Link icon

      public void setRollingUpgradeEnabled(Boolean rollingUpgradeEnabled)
      Setter for rollingUpgradeEnabled. Enables the ability to perform rolling runtime upgrade.
    • equals Link icon

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object