Class AutoscalingOptionsCreateRequest

java.lang.Object
com.cloudera.cdp.dw.model.AutoscalingOptionsCreateRequest

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2026-06-05T07:54:41.156-07:00") public class AutoscalingOptionsCreateRequest extends Object
Auto-scaling configuration for a Virtual Warehouse.
  • Constructor Details

    • AutoscalingOptionsCreateRequest

      public AutoscalingOptionsCreateRequest()
  • Method Details

    • getMinClusters

      public Integer getMinClusters()
      Getter for minClusters. Sets the minimum number of Executor Groups.
    • setMinClusters

      public void setMinClusters(Integer minClusters)
      Setter for minClusters. Sets the minimum number of Executor Groups.
    • getMaxClusters

      public Integer getMaxClusters()
      Getter for maxClusters. Sets the maximum number of Executor Groups the Virtual Warehouse can scale up to. This value defines the upper boundary for autoscaling. The total node capacity is determined by this number multiplied by the number of nodes in the selected `--t-shirt-size`. NOTE: On Azure, all IPs for the maximum node count are pre-allocated. If you use the same `--instance-type` for multiple Virtual Warehouses, they will share the same underlying nodepool and its limit is calculated as the sum of all nodes required by the corresponding Virtual Warehouses.
    • setMaxClusters

      public void setMaxClusters(Integer maxClusters)
      Setter for maxClusters. Sets the maximum number of Executor Groups the Virtual Warehouse can scale up to. This value defines the upper boundary for autoscaling. The total node capacity is determined by this number multiplied by the number of nodes in the selected `--t-shirt-size`. NOTE: On Azure, all IPs for the maximum node count are pre-allocated. If you use the same `--instance-type` for multiple Virtual Warehouses, they will share the same underlying nodepool and its limit is calculated as the sum of all nodes required by the corresponding Virtual Warehouses.
    • getDisableAutoSuspend

      public Boolean getDisableAutoSuspend()
      Getter for disableAutoSuspend. Turn off auto suspend for Virtual Warehouse.
    • setDisableAutoSuspend

      public void setDisableAutoSuspend(Boolean disableAutoSuspend)
      Setter for disableAutoSuspend. Turn off auto suspend for Virtual Warehouse.
    • getAutoSuspendTimeoutSeconds

      public Integer getAutoSuspendTimeoutSeconds()
      Getter for autoSuspendTimeoutSeconds. Auto suspend threshold for Virtual Warehouse.
    • setAutoSuspendTimeoutSeconds

      public void setAutoSuspendTimeoutSeconds(Integer autoSuspendTimeoutSeconds)
      Setter for autoSuspendTimeoutSeconds. Auto suspend threshold for Virtual Warehouse.
    • getHiveScaleWaitTimeSeconds

      public Integer getHiveScaleWaitTimeSeconds()
      Getter for hiveScaleWaitTimeSeconds. Set wait time before a scale event happens. Either \"hiveScaleWaitTimeSeconds\" or \"hiveDesiredFreeCapacity\" can be provided.
    • setHiveScaleWaitTimeSeconds

      public void setHiveScaleWaitTimeSeconds(Integer hiveScaleWaitTimeSeconds)
      Setter for hiveScaleWaitTimeSeconds. Set wait time before a scale event happens. Either \"hiveScaleWaitTimeSeconds\" or \"hiveDesiredFreeCapacity\" can be provided.
    • getHiveDesiredFreeCapacity

      public Integer getHiveDesiredFreeCapacity()
      Getter for hiveDesiredFreeCapacity. Set Desired free capacity. Either \"hiveScaleWaitTimeSeconds\" or \"hiveDesiredFreeCapacity\" can be provided.
    • setHiveDesiredFreeCapacity

      public void setHiveDesiredFreeCapacity(Integer hiveDesiredFreeCapacity)
      Setter for hiveDesiredFreeCapacity. Set Desired free capacity. Either \"hiveScaleWaitTimeSeconds\" or \"hiveDesiredFreeCapacity\" can be provided.
    • getImpalaHighAvailabilityMode

      @Deprecated public String getImpalaHighAvailabilityMode()
      Deprecated.
      Getter for impalaHighAvailabilityMode. DEPRECATED in favor of the top level impalaHASettings object. Set High Availability mode. If not provided the default will apply. This value is disregarded for Hive.
    • setImpalaHighAvailabilityMode

      @Deprecated public void setImpalaHighAvailabilityMode(String impalaHighAvailabilityMode)
      Deprecated.
      Setter for impalaHighAvailabilityMode. DEPRECATED in favor of the top level impalaHASettings object. Set High Availability mode. If not provided the default will apply. This value is disregarded for Hive.
    • getImpalaScaleUpDelaySeconds

      public Integer getImpalaScaleUpDelaySeconds()
      Getter for impalaScaleUpDelaySeconds. Scale up the scaling up threshold in seconds. If not provided defaults will apply.
    • setImpalaScaleUpDelaySeconds

      public void setImpalaScaleUpDelaySeconds(Integer impalaScaleUpDelaySeconds)
      Setter for impalaScaleUpDelaySeconds. Scale up the scaling up threshold in seconds. If not provided defaults will apply.
    • getImpalaScaleDownDelaySeconds

      public Integer getImpalaScaleDownDelaySeconds()
      Getter for impalaScaleDownDelaySeconds. Scale down threshold in seconds. If not provided defaults will apply.
    • setImpalaScaleDownDelaySeconds

      public void setImpalaScaleDownDelaySeconds(Integer impalaScaleDownDelaySeconds)
      Setter for impalaScaleDownDelaySeconds. Scale down threshold in seconds. If not provided defaults will apply.
    • getImpalaEnableShutdownOfCoordinator

      @Deprecated public Boolean getImpalaEnableShutdownOfCoordinator()
      Deprecated.
      Getter for impalaEnableShutdownOfCoordinator. DEPRECATED: in favor of the top level impalaHASettings object. Enables a shutdown of the coordinator.
    • setImpalaEnableShutdownOfCoordinator

      @Deprecated public void setImpalaEnableShutdownOfCoordinator(Boolean impalaEnableShutdownOfCoordinator)
      Deprecated.
      Setter for impalaEnableShutdownOfCoordinator. DEPRECATED: in favor of the top level impalaHASettings object. Enables a shutdown of the coordinator.
    • getImpalaShutdownOfCoordinatorDelaySeconds

      @Deprecated public Integer getImpalaShutdownOfCoordinatorDelaySeconds()
      Deprecated.
      Getter for impalaShutdownOfCoordinatorDelaySeconds. DEPRECATED in favor of the top level impalaHASettings object. Delay in seconds before the shutdown of coordinator event happens.
    • setImpalaShutdownOfCoordinatorDelaySeconds

      @Deprecated public void setImpalaShutdownOfCoordinatorDelaySeconds(Integer impalaShutdownOfCoordinatorDelaySeconds)
      Deprecated.
      Setter for impalaShutdownOfCoordinatorDelaySeconds. DEPRECATED in favor of the top level impalaHASettings object. Delay in seconds before the shutdown of coordinator event happens.
    • getImpalaNumOfActiveCoordinators

      @Deprecated public Integer getImpalaNumOfActiveCoordinators()
      Deprecated.
      Getter for impalaNumOfActiveCoordinators. DEPRECATED in favor of the top level impalaHASettings object. Number of the active coordinators.
    • setImpalaNumOfActiveCoordinators

      @Deprecated public void setImpalaNumOfActiveCoordinators(Integer impalaNumOfActiveCoordinators)
      Deprecated.
      Setter for impalaNumOfActiveCoordinators. DEPRECATED in favor of the top level impalaHASettings object. Number of the active coordinators.
    • getImpalaEnableCatalogHighAvailability

      @Deprecated public Boolean getImpalaEnableCatalogHighAvailability()
      Deprecated.
      Getter for impalaEnableCatalogHighAvailability. DEPRECATED in favor of the top level impalaHASettings object. Enables a backup instance for Impala catalog to ensure high availability.
    • setImpalaEnableCatalogHighAvailability

      @Deprecated public void setImpalaEnableCatalogHighAvailability(Boolean impalaEnableCatalogHighAvailability)
      Deprecated.
      Setter for impalaEnableCatalogHighAvailability. DEPRECATED in favor of the top level impalaHASettings object. Enables a backup instance for Impala catalog to ensure high availability.
    • getImpalaExecutorGroupSets

      public ImpalaExecutorGroupSetsCreateRequest getImpalaExecutorGroupSets()
      Getter for impalaExecutorGroupSets. Configures executor group sets for workload aware autoscaling.
    • setImpalaExecutorGroupSets

      public void setImpalaExecutorGroupSets(ImpalaExecutorGroupSetsCreateRequest impalaExecutorGroupSets)
      Setter for impalaExecutorGroupSets. Configures executor group sets for workload aware autoscaling.
    • getTrinoDisableAutoScaling

      public Boolean getTrinoDisableAutoScaling()
      Getter for trinoDisableAutoScaling. Disables Auto-scaling for Trino VW.
    • setTrinoDisableAutoScaling

      public void setTrinoDisableAutoScaling(Boolean trinoDisableAutoScaling)
      Setter for trinoDisableAutoScaling. Disables Auto-scaling for Trino VW.
    • getTrinoMaxWorkerCount

      public Integer getTrinoMaxWorkerCount()
      Getter for trinoMaxWorkerCount. Maximum number of worker nodes in a Trino VW.
    • setTrinoMaxWorkerCount

      public void setTrinoMaxWorkerCount(Integer trinoMaxWorkerCount)
      Setter for trinoMaxWorkerCount. Maximum number of worker nodes in a Trino VW.
    • getTrinoMinWorkerCount

      public Integer getTrinoMinWorkerCount()
      Getter for trinoMinWorkerCount. Minimum number of worker nodes in a Trino VW.
    • setTrinoMinWorkerCount

      public void setTrinoMinWorkerCount(Integer trinoMinWorkerCount)
      Setter for trinoMinWorkerCount. Minimum number of worker nodes in a Trino VW.
    • getTrinoShutdownGracePeriod

      public Integer getTrinoShutdownGracePeriod()
      Getter for trinoShutdownGracePeriod. Grace period in seconds before shutting down Trino workers.
    • setTrinoShutdownGracePeriod

      public void setTrinoShutdownGracePeriod(Integer trinoShutdownGracePeriod)
      Setter for trinoShutdownGracePeriod. Grace period in seconds before shutting down Trino workers.
    • getTrinoScaleDownDelaySeconds

      public Integer getTrinoScaleDownDelaySeconds()
      Getter for trinoScaleDownDelaySeconds. Scale down threshold in seconds. If not provided, the defaults will apply.
    • setTrinoScaleDownDelaySeconds

      public void setTrinoScaleDownDelaySeconds(Integer trinoScaleDownDelaySeconds)
      Setter for trinoScaleDownDelaySeconds. Scale down threshold in seconds. If not provided, the defaults will apply.
    • getTrinoScaleUpDelaySeconds

      public Integer getTrinoScaleUpDelaySeconds()
      Getter for trinoScaleUpDelaySeconds. Scale up threshold in seconds. If not provided defaults will apply.
    • setTrinoScaleUpDelaySeconds

      public void setTrinoScaleUpDelaySeconds(Integer trinoScaleUpDelaySeconds)
      Setter for trinoScaleUpDelaySeconds. Scale up threshold in seconds. If not provided defaults will apply.
    • 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