Package com.cloudera.cdp.dw.model
Class AutoscalingOptionsUpdateRequest
- java.lang.Object
-
- com.cloudera.cdp.dw.model.AutoscalingOptionsUpdateRequest
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2023-09-27T13:27:51.717-07:00") public class AutoscalingOptionsUpdateRequest extends Object
Auto-scaling configuration for a Virtual Warehouse. Provide those values only that you want to update.
-
-
Constructor Summary
Constructors Constructor Description AutoscalingOptionsUpdateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object o)
Integer
getAutoSuspendTimeoutSeconds()
Getter for autoSuspendTimeoutSeconds.Boolean
getDisableAutoSuspend()
Getter for disableAutoSuspend.Integer
getHiveDesiredFreeCapacity()
Getter for hiveDesiredFreeCapacity.Integer
getHiveScaleWaitTimeSeconds()
Getter for hiveScaleWaitTimeSeconds.Integer
getImpalaNumOfActiveCoordinators()
Deprecated.Integer
getImpalaScaleDownDelaySeconds()
Getter for impalaScaleDownDelaySeconds.Integer
getImpalaScaleUpDelaySeconds()
Getter for impalaScaleUpDelaySeconds.Integer
getImpalaShutdownOfCoordinatorDelaySeconds()
Deprecated.Integer
getMaxClusters()
Getter for maxClusters.Integer
getMinClusters()
Getter for minClusters.int
hashCode()
void
setAutoSuspendTimeoutSeconds(Integer autoSuspendTimeoutSeconds)
Setter for autoSuspendTimeoutSeconds.void
setDisableAutoSuspend(Boolean disableAutoSuspend)
Setter for disableAutoSuspend.void
setHiveDesiredFreeCapacity(Integer hiveDesiredFreeCapacity)
Setter for hiveDesiredFreeCapacity.void
setHiveScaleWaitTimeSeconds(Integer hiveScaleWaitTimeSeconds)
Setter for hiveScaleWaitTimeSeconds.void
setImpalaNumOfActiveCoordinators(Integer impalaNumOfActiveCoordinators)
Deprecated.void
setImpalaScaleDownDelaySeconds(Integer impalaScaleDownDelaySeconds)
Setter for impalaScaleDownDelaySeconds.void
setImpalaScaleUpDelaySeconds(Integer impalaScaleUpDelaySeconds)
Setter for impalaScaleUpDelaySeconds.void
setImpalaShutdownOfCoordinatorDelaySeconds(Integer impalaShutdownOfCoordinatorDelaySeconds)
Deprecated.void
setMaxClusters(Integer maxClusters)
Setter for maxClusters.void
setMinClusters(Integer minClusters)
Setter for minClusters.String
toString()
-
-
-
Method Detail
-
getMinClusters
public Integer getMinClusters()
Getter for minClusters. Minimum number of available compute groups. Zero means, the minClusters will not be updated.
-
setMinClusters
public void setMinClusters(Integer minClusters)
Setter for minClusters. Minimum number of available compute groups. Zero means, the minClusters will not be updated.
-
getMaxClusters
public Integer getMaxClusters()
Getter for maxClusters. Maximum number of available compute groups. Zero means, the maxClusters will not be updated..
-
setMaxClusters
public void setMaxClusters(Integer maxClusters)
Setter for maxClusters. Maximum number of available compute groups. Zero means, the maxClusters will not be updated..
-
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. If \"hiveScaleWaitTimeSeconds\" provided, then the \"hiveDesiredFreeCapacity\" will be explicityly set to 0.
-
setHiveScaleWaitTimeSeconds
public void setHiveScaleWaitTimeSeconds(Integer hiveScaleWaitTimeSeconds)
Setter for hiveScaleWaitTimeSeconds. Set wait time before a scale event happens. Either \"hiveScaleWaitTimeSeconds\" or \"hiveDesiredFreeCapacity\" can be provided. If \"hiveScaleWaitTimeSeconds\" provided, then the \"hiveDesiredFreeCapacity\" will be explicityly set to 0.
-
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.
-
getImpalaScaleUpDelaySeconds
public Integer getImpalaScaleUpDelaySeconds()
Getter for impalaScaleUpDelaySeconds. Scale up the scaling up threshold in seconds.
-
setImpalaScaleUpDelaySeconds
public void setImpalaScaleUpDelaySeconds(Integer impalaScaleUpDelaySeconds)
Setter for impalaScaleUpDelaySeconds. Scale up the scaling up threshold in seconds.
-
getImpalaScaleDownDelaySeconds
public Integer getImpalaScaleDownDelaySeconds()
Getter for impalaScaleDownDelaySeconds. Scale down threshold in seconds.
-
setImpalaScaleDownDelaySeconds
public void setImpalaScaleDownDelaySeconds(Integer impalaScaleDownDelaySeconds)
Setter for impalaScaleDownDelaySeconds. Scale down threshold in seconds.
-
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.
-
-