Class UpgradeClusterRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2022-08-18T19:29:49.831-07:00")
    public class UpgradeClusterRequest
    extends Object
    Request object to upgrade datahub.
    • Constructor Detail

      • UpgradeClusterRequest

        public UpgradeClusterRequest()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object