DynamicExecutorAllocation Class

  • java.lang.Object
    • com.azure.resourcemanager.synapse.models.DynamicExecutorAllocation

Implements

public final class DynamicExecutorAllocation
implements JsonSerializable<DynamicExecutorAllocation>

Dynamic Executor Allocation Properties.

Constructor Summary

Constructor Description
DynamicExecutorAllocation()

Creates an instance of DynamicExecutorAllocation class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.

static DynamicExecutorAllocation fromJson(JsonReader jsonReader)

Reads an instance of DynamicExecutorAllocation from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DynamicExecutorAllocation withEnabled(Boolean enabled)

Set the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.

Methods inherited from java.lang.Object

Constructor Details

DynamicExecutorAllocation

public DynamicExecutorAllocation()

Creates an instance of DynamicExecutorAllocation class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.

Returns:

the enabled value.

fromJson

public static DynamicExecutorAllocation fromJson(JsonReader jsonReader)

Reads an instance of DynamicExecutorAllocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DynamicExecutorAllocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the DynamicExecutorAllocation.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

Applies to