Package com.cloudera.cdp.opdb.model
Class AutoScalingParameters
java.lang.Object
com.cloudera.cdp.opdb.model.AutoScalingParameters
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
date="2024-09-27T08:40:27.282-07:00")
public class AutoScalingParameters
extends Object
A Parameters to configure AutoScaling
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for evaluationPeriod.Getter for maxWorkersForDatabase.Getter for maxWorkersPerBatch.Getter for minimumBlockCacheGb.Getter for minWorkersForDatabase.Getter for targetedValueForMetric.int
hashCode()
void
setEvaluationPeriod
(Long evaluationPeriod) Setter for evaluationPeriod.void
setMaxWorkersForDatabase
(Integer maxWorkersForDatabase) Setter for maxWorkersForDatabase.void
setMaxWorkersPerBatch
(Integer maxWorkersPerBatch) Setter for maxWorkersPerBatch.void
setMinimumBlockCacheGb
(Integer minimumBlockCacheGb) Setter for minimumBlockCacheGb.void
setMinWorkersForDatabase
(Integer minWorkersForDatabase) Setter for minWorkersForDatabase.void
setTargetedValueForMetric
(Long targetedValueForMetric) Setter for targetedValueForMetric.toString()
-
Constructor Details
-
AutoScalingParameters
public AutoScalingParameters()
-
-
Method Details
-
getTargetedValueForMetric
Getter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster -
setTargetedValueForMetric
Setter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster -
getMaxWorkersForDatabase
Getter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to. -
setMaxWorkersForDatabase
Setter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to. -
getMaxWorkersPerBatch
Getter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch. -
setMaxWorkersPerBatch
Setter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch. -
getMinWorkersForDatabase
Getter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to. -
setMinWorkersForDatabase
Setter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to. -
getEvaluationPeriod
Getter for evaluationPeriod. Period of metrics(in seconds) needs to be considered. -
setEvaluationPeriod
Setter for evaluationPeriod. Period of metrics(in seconds) needs to be considered. -
getMinimumBlockCacheGb
Getter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have. -
setMinimumBlockCacheGb
Setter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have. -
equals
-
hashCode
public int hashCode() -
toString
-