Package com.cloudera.cdp.opdb.model
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for autoScalingParameters.Getter for databaseName.Getter for environmentName.Getter for numDesiredRestworkerNodes.Getter for numDesiredStrongMetaServers.Getter for removeRestworkerNodes.Getter for removeStrongMetaServers.int
hashCode()
void
setAutoScalingParameters
(AutoScalingParameters autoScalingParameters) Setter for autoScalingParameters.void
setDatabaseName
(String databaseName) Setter for databaseName.void
setEnvironmentName
(String environmentName) Setter for environmentName.void
setNumDesiredRestworkerNodes
(Integer numDesiredRestworkerNodes) Setter for numDesiredRestworkerNodes.void
setNumDesiredStrongMetaServers
(Integer numDesiredStrongMetaServers) Setter for numDesiredStrongMetaServers.void
setRemoveRestworkerNodes
(Boolean removeRestworkerNodes) Setter for removeRestworkerNodes.void
setRemoveStrongMetaServers
(Boolean removeStrongMetaServers) Setter for removeStrongMetaServers.toString()
-
Constructor Details
-
UpdateDatabaseRequest
public UpdateDatabaseRequest()
-
-
Method Details
-
getEnvironmentName
Getter for environmentName. environment name -
setEnvironmentName
Setter for environmentName. environment name -
getDatabaseName
Getter for databaseName. database name -
setDatabaseName
Setter for databaseName. database name -
getAutoScalingParameters
Getter for autoScalingParameters. Parameters to configure the scaling policy -
setAutoScalingParameters
Setter for autoScalingParameters. Parameters to configure the scaling policy -
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
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
Getter for removeStrongMetaServers. Removes any strong meta servers provisioned for this database. Requires the COD_STRONG_META_SERVERS entitlement. -
setRemoveStrongMetaServers
Setter for removeStrongMetaServers. Removes any strong meta servers provisioned for this database. Requires the COD_STRONG_META_SERVERS entitlement. -
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
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
Getter for removeRestworkerNodes. Removes any REST Worker nodes provisioned for this database. Requires the COD_RESTWORKERS entitlement. -
setRemoveRestworkerNodes
Setter for removeRestworkerNodes. Removes any REST Worker nodes provisioned for this database. Requires the COD_RESTWORKERS entitlement. -
equals
-
hashCode
public int hashCode() -
toString
-