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 Details

    • AutoScalingParameters

      public AutoScalingParameters()
  • Method Details

    • getTargetedValueForMetric

      public Long getTargetedValueForMetric()
      Getter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster
    • setTargetedValueForMetric

      public void setTargetedValueForMetric(Long targetedValueForMetric)
      Setter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster
    • getMaxWorkersForDatabase

      public Integer getMaxWorkersForDatabase()
      Getter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to.
    • setMaxWorkersForDatabase

      public void setMaxWorkersForDatabase(Integer maxWorkersForDatabase)
      Setter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to.
    • getMaxWorkersPerBatch

      public Integer getMaxWorkersPerBatch()
      Getter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
    • setMaxWorkersPerBatch

      public void setMaxWorkersPerBatch(Integer maxWorkersPerBatch)
      Setter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
    • getMinWorkersForDatabase

      public Integer getMinWorkersForDatabase()
      Getter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to.
    • setMinWorkersForDatabase

      public void setMinWorkersForDatabase(Integer minWorkersForDatabase)
      Setter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to.
    • getEvaluationPeriod

      public Long getEvaluationPeriod()
      Getter for evaluationPeriod. Period of metrics(in seconds) needs to be considered.
    • setEvaluationPeriod

      public void setEvaluationPeriod(Long evaluationPeriod)
      Setter for evaluationPeriod. Period of metrics(in seconds) needs to be considered.
    • getMinimumBlockCacheGb

      public Integer getMinimumBlockCacheGb()
      Getter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have.
    • setMinimumBlockCacheGb

      public void setMinimumBlockCacheGb(Integer minimumBlockCacheGb)
      Setter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have.
    • 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