// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Dynamic Executor Allocation Properties. */
@Fluent
public final class DynamicExecutorAllocation {
    /*
     * Indicates whether Dynamic Executor Allocation is enabled or not.
     */
    @JsonProperty(value = "enabled")
    private Boolean enabled;

    /** Creates an instance of DynamicExecutorAllocation class. */
    public DynamicExecutorAllocation() {}

    /**
     * Get the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.
     *
     * @return the enabled value.
     */
    public Boolean isEnabled() {
        return this.enabled;
    }

    /**
     * Set the enabled property: Indicates whether Dynamic Executor Allocation is enabled or not.
     *
     * @param enabled the enabled value to set.
     * @return the DynamicExecutorAllocation object itself.
     */
    public DynamicExecutorAllocation setEnabled(Boolean enabled) {
        this.enabled = enabled;
        return this;
    }
}
