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

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

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

/** The properties can be updated for a configuration. */
@Fluent
public final class ConfigurationForBatchUpdateProperties {
    /*
     * Value of the configuration.
     */
    @JsonProperty(value = "value")
    private String value;

    /*
     * Source of the configuration.
     */
    @JsonProperty(value = "source")
    private String source;

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

    /**
     * Get the value property: Value of the configuration.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: Value of the configuration.
     *
     * @param value the value value to set.
     * @return the ConfigurationForBatchUpdateProperties object itself.
     */
    public ConfigurationForBatchUpdateProperties withValue(String value) {
        this.value = value;
        return this;
    }

    /**
     * Get the source property: Source of the configuration.
     *
     * @return the source value.
     */
    public String source() {
        return this.source;
    }

    /**
     * Set the source property: Source of the configuration.
     *
     * @param source the source value to set.
     * @return the ConfigurationForBatchUpdateProperties object itself.
     */
    public ConfigurationForBatchUpdateProperties withSource(String source) {
        this.source = source;
        return this;
    }

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