Class StartDatabaseUpgradeRequest

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

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

    • StartDatabaseUpgradeRequest

      public StartDatabaseUpgradeRequest()
  • 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.
    • getTargetVersion

      public String getTargetVersion()
      Getter for targetVersion. The database engine major version to upgrade to.
    • setTargetVersion

      public void setTargetVersion(String targetVersion)
      Setter for targetVersion. The database engine major version to upgrade to.
    • getForce

      public Boolean getForce()
      Getter for force. Start the database upgrade flow even if the source and target versions are the same. Can be used to reinitiate an upgrade after a failure.
    • setForce

      public void setForce(Boolean force)
      Setter for force. Start the database upgrade flow even if the source and target versions are the same. Can be used to reinitiate an upgrade after a failure.
    • 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