Class DynamicExecutorAllocation
java.lang.Object
com.azure.resourcemanager.synapse.models.DynamicExecutorAllocation
Dynamic Executor Allocation Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of DynamicExecutorAllocation class. -
Method Summary
Modifier and TypeMethodDescriptionenabled()
Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.Get the maxExecutors property: The maximum number of executors alloted.Get the minExecutors property: The minimum number of executors alloted.void
validate()
Validates the instance.withEnabled
(Boolean enabled) Set the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.withMaxExecutors
(Integer maxExecutors) Set the maxExecutors property: The maximum number of executors alloted.withMinExecutors
(Integer minExecutors) Set the minExecutors property: The minimum number of executors alloted.
-
Constructor Details
-
DynamicExecutorAllocation
public DynamicExecutorAllocation()Creates an instance of DynamicExecutorAllocation class.
-
-
Method Details
-
enabled
Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.- Parameters:
enabled
- the enabled value to set.- Returns:
- the DynamicExecutorAllocation object itself.
-
minExecutors
Get the minExecutors property: The minimum number of executors alloted.- Returns:
- the minExecutors value.
-
withMinExecutors
Set the minExecutors property: The minimum number of executors alloted.- Parameters:
minExecutors
- the minExecutors value to set.- Returns:
- the DynamicExecutorAllocation object itself.
-
maxExecutors
Get the maxExecutors property: The maximum number of executors alloted.- Returns:
- the maxExecutors value.
-
withMaxExecutors
Set the maxExecutors property: The maximum number of executors alloted.- Parameters:
maxExecutors
- the maxExecutors value to set.- Returns:
- the DynamicExecutorAllocation object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-