Class PrepareClusterUpgradeResponse


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:44.965-07:00")
    public class PrepareClusterUpgradeResponse
    extends CdpResponse
    Response object for upgrade Data Hub request.
    • Constructor Detail

      • PrepareClusterUpgradeResponse

        public PrepareClusterUpgradeResponse()
    • Method Detail

      • getCurrent

        public ImageInfo getCurrent()
        Getter for current. Information about the current image.
      • setCurrent

        public void setCurrent​(ImageInfo current)
        Setter for current. Information about the current image.
      • getUpgradeCandidates

        public List<ImageInfo> getUpgradeCandidates()
        Getter for upgradeCandidates. List of images and components to upgrade to.
      • setUpgradeCandidates

        public void setUpgradeCandidates​(List<ImageInfo> upgradeCandidates)
        Setter for upgradeCandidates. List of images and components to upgrade to.
      • getReason

        public String getReason()
        Getter for reason. The reason why upgrade is not possible.
      • setReason

        public void setReason​(String reason)
        Setter for reason. The reason why upgrade is not possible.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object