Class AutoScalingParameters


  • @Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen",
               date="2024-03-13T13:08:47.791-07:00")
    public class AutoScalingParameters
    extends Object
    A Parameters to configure AutoScaling
    • Constructor Detail

      • AutoScalingParameters

        public AutoScalingParameters()
    • Method Detail

      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object