Class PrepareClusterUpgradeRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:24.392-07: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 Details

    • PrepareClusterUpgradeRequest

      public PrepareClusterUpgradeRequest()
  • Method Details

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