Class UpgradeClusterRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07:00") public class UpgradeClusterRequest extends Object
Request object to upgrade datahub.
  • Constructor Details

    • UpgradeClusterRequest

      public UpgradeClusterRequest()
  • Method Details

    • getClusterName

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

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

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

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

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

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

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

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

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

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

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

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

      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

      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

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

      public void setRollingUpgradeEnabled(Boolean rollingUpgradeEnabled)
      Setter for rollingUpgradeEnabled. Enables the ability to perform rolling runtime upgrade.
    • 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