Class UpdateDatabaseRequest

java.lang.Object
com.cloudera.cdp.opdb.model.UpdateDatabaseRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-09-27T08:40:27.282-07:00") public class UpdateDatabaseRequest extends Object
A request to update the database
  • Constructor Details

    • UpdateDatabaseRequest

      public UpdateDatabaseRequest()
  • Method Details

    • getEnvironmentName

      public String getEnvironmentName()
      Getter for environmentName. environment name
    • setEnvironmentName

      public void setEnvironmentName(String environmentName)
      Setter for environmentName. environment name
    • getDatabaseName

      public String getDatabaseName()
      Getter for databaseName. database name
    • setDatabaseName

      public void setDatabaseName(String databaseName)
      Setter for databaseName. database name
    • getAutoScalingParameters

      public AutoScalingParameters getAutoScalingParameters()
      Getter for autoScalingParameters. Parameters to configure the scaling policy
    • setAutoScalingParameters

      public void setAutoScalingParameters(AutoScalingParameters autoScalingParameters)
      Setter for autoScalingParameters. Parameters to configure the scaling policy
    • getNumDesiredStrongMetaServers

      public Integer getNumDesiredStrongMetaServers()
      Getter for numDesiredStrongMetaServers. The desired number of strong meta servers for this database. A positive, non-zero number is required. Use removeStrongMetaServers to remove strong meta servers entirely. Requires the COD_STRONG_META_SERVERS entitlement.
    • setNumDesiredStrongMetaServers

      public void setNumDesiredStrongMetaServers(Integer numDesiredStrongMetaServers)
      Setter for numDesiredStrongMetaServers. The desired number of strong meta servers for this database. A positive, non-zero number is required. Use removeStrongMetaServers to remove strong meta servers entirely. Requires the COD_STRONG_META_SERVERS entitlement.
    • getRemoveStrongMetaServers

      public Boolean getRemoveStrongMetaServers()
      Getter for removeStrongMetaServers. Removes any strong meta servers provisioned for this database. Requires the COD_STRONG_META_SERVERS entitlement.
    • setRemoveStrongMetaServers

      public void setRemoveStrongMetaServers(Boolean removeStrongMetaServers)
      Setter for removeStrongMetaServers. Removes any strong meta servers provisioned for this database. Requires the COD_STRONG_META_SERVERS entitlement.
    • getNumDesiredRestworkerNodes

      public Integer getNumDesiredRestworkerNodes()
      Getter for numDesiredRestworkerNodes. Sets the desired number of REST Worker nodes for the database. A positive, non-zero number is required. Requires the COD_RESTWORKERS entitlement.
    • setNumDesiredRestworkerNodes

      public void setNumDesiredRestworkerNodes(Integer numDesiredRestworkerNodes)
      Setter for numDesiredRestworkerNodes. Sets the desired number of REST Worker nodes for the database. A positive, non-zero number is required. Requires the COD_RESTWORKERS entitlement.
    • getRemoveRestworkerNodes

      public Boolean getRemoveRestworkerNodes()
      Getter for removeRestworkerNodes. Removes any REST Worker nodes provisioned for this database. Requires the COD_RESTWORKERS entitlement.
    • setRemoveRestworkerNodes

      public void setRemoveRestworkerNodes(Boolean removeRestworkerNodes)
      Setter for removeRestworkerNodes. Removes any REST Worker nodes provisioned for this database. Requires the COD_RESTWORKERS entitlement.
    • 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