Class PrepareClusterUpgradeRequest


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2023-01-18T15:00:48.185-08:00")
    public class PrepareClusterUpgradeRequest
    extends Object
    Request object to Data Hub upgrade preparation. This command indicates the upgrade preparation for a specific image or a selected runtime version. Important to note that the imageId or the runtime parameter must be present in the request.
    • Constructor Detail

      • PrepareClusterUpgradeRequest

        public PrepareClusterUpgradeRequest()
    • Method Detail

      • getCluster

        public String getCluster()
        Getter for cluster. The name or CRN of the Data Hub.
      • setCluster

        public void setCluster​(String cluster)
        Setter for cluster. The name or CRN of the Data Hub.
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object