Class DynamicExecutorAllocation
- java.lang.Object
-
- com.azure.resourcemanager.synapse.models.DynamicExecutorAllocation
-
public final class DynamicExecutorAllocation extends Object
Dynamic Executor Allocation Properties.
-
-
Constructor Summary
Constructors Constructor Description DynamicExecutorAllocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.Integer
maxExecutors()
Get the maxExecutors property: The maximum number of executors alloted.Integer
minExecutors()
Get the minExecutors property: The minimum number of executors alloted.void
validate()
Validates the instance.DynamicExecutorAllocation
withEnabled(Boolean enabled)
Set the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.DynamicExecutorAllocation
withMaxExecutors(Integer maxExecutors)
Set the maxExecutors property: The maximum number of executors alloted.DynamicExecutorAllocation
withMinExecutors(Integer minExecutors)
Set the minExecutors property: The minimum number of executors alloted.
-
-
-
Method Detail
-
enabled
public Boolean enabled()
Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.- Returns:
- the enabled value.
-
withEnabled
public DynamicExecutorAllocation withEnabled(Boolean enabled)
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
public Integer minExecutors()
Get the minExecutors property: The minimum number of executors alloted.- Returns:
- the minExecutors value.
-
withMinExecutors
public DynamicExecutorAllocation withMinExecutors(Integer minExecutors)
Set the minExecutors property: The minimum number of executors alloted.- Parameters:
minExecutors
- the minExecutors value to set.- Returns:
- the DynamicExecutorAllocation object itself.
-
maxExecutors
public Integer maxExecutors()
Get the maxExecutors property: The maximum number of executors alloted.- Returns:
- the maxExecutors value.
-
withMaxExecutors
public DynamicExecutorAllocation withMaxExecutors(Integer maxExecutors)
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.
-
-