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

package com.azure.resourcemanager.sql.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.sql.models.SqlAgentConfigurationPropertiesState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Sql agent configuration properties. */
@Fluent
public final class SqlAgentConfigurationProperties {
    /*
     * The state of Sql Agent.
     */
    @JsonProperty(value = "state")
    private SqlAgentConfigurationPropertiesState state;

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

    /**
     * Get the state property: The state of Sql Agent.
     *
     * @return the state value.
     */
    public SqlAgentConfigurationPropertiesState state() {
        return this.state;
    }

    /**
     * Set the state property: The state of Sql Agent.
     *
     * @param state the state value to set.
     * @return the SqlAgentConfigurationProperties object itself.
     */
    public SqlAgentConfigurationProperties withState(SqlAgentConfigurationPropertiesState state) {
        this.state = state;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
