Class AutoscalingOptionsCreateRequest

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

@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2025-05-14T11:34:33.811-07:00") public class AutoscalingOptionsCreateRequest extends Object
Auto-scaling configuration for a Virtual Warehouse.
  • Constructor Details Link icon

    • AutoscalingOptionsCreateRequest Link icon

      public AutoscalingOptionsCreateRequest()
  • Method Details Link icon

    • getMinClusters Link icon

      public Integer getMinClusters()
      Getter for minClusters. Minimum number of available compute groups.
    • setMinClusters Link icon

      public void setMinClusters(Integer minClusters)
      Setter for minClusters. Minimum number of available compute groups.
    • getMaxClusters Link icon

      public Integer getMaxClusters()
      Getter for maxClusters. Maximum number of available compute groups.
    • setMaxClusters Link icon

      public void setMaxClusters(Integer maxClusters)
      Setter for maxClusters. Maximum number of available compute groups.
    • getDisableAutoSuspend Link icon

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

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

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

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

      @Deprecated public Boolean getEnableUnifiedAnalytics()
      Deprecated.
      Getter for enableUnifiedAnalytics. DEPRECATED in favor of the top level enableUnifiedAnalytics flag. Enable Unified Analytics. In case of Hive Virtual Warehouses this cannot be provided, because this value is inferred. In case of Impala this can be set. Passing --query-isolation-options will be considered if this flag is set to true. If Unified Analytics enabled then the \"impalaEnableShutdownOfCoordinator\" explicitly disabled and should not be provided, furthermore the \"impalaHighAvailabilityMode\" cannot be set to ACTIVE_ACTIVE.
    • setEnableUnifiedAnalytics Link icon

      @Deprecated public void setEnableUnifiedAnalytics(Boolean enableUnifiedAnalytics)
      Deprecated.
      Setter for enableUnifiedAnalytics. DEPRECATED in favor of the top level enableUnifiedAnalytics flag. Enable Unified Analytics. In case of Hive Virtual Warehouses this cannot be provided, because this value is inferred. In case of Impala this can be set. Passing --query-isolation-options will be considered if this flag is set to true. If Unified Analytics enabled then the \"impalaEnableShutdownOfCoordinator\" explicitly disabled and should not be provided, furthermore the \"impalaHighAvailabilityMode\" cannot be set to ACTIVE_ACTIVE.
    • getHiveScaleWaitTimeSeconds Link icon

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

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

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

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

      @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 Link icon

      @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 Link icon

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

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

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

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

      @Deprecated public Boolean getImpalaEnableShutdownOfCoordinator()
      Deprecated.
      Getter for impalaEnableShutdownOfCoordinator. DEPRECATED in favor of the top level impalaHASettings object. Enables a shutdown of the coordinator. If Unified Analytics enabled then this setting explicitly disabled and should not be provided.
    • setImpalaEnableShutdownOfCoordinator Link icon

      @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. If Unified Analytics enabled then this setting explicitly disabled and should not be provided.
    • getImpalaShutdownOfCoordinatorDelaySeconds Link icon

      @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 Link icon

      @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 Link icon

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

      @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 Link icon

      @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 Link icon

      @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 Link icon

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode Link icon

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object