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

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

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

/** The properties of the update variable. */
@Fluent
public final class VariableUpdateProperties {
    /*
     * Gets or sets the value of the variable.
     */
    @JsonProperty(value = "value")
    private String value;

    /*
     * Gets or sets the description of the variable.
     */
    @JsonProperty(value = "description")
    private String description;

    /**
     * Get the value property: Gets or sets the value of the variable.
     *
     * @return the value value.
     */
    public String value() {
        return this.value;
    }

    /**
     * Set the value property: Gets or sets the value of the variable.
     *
     * @param value the value value to set.
     * @return the VariableUpdateProperties object itself.
     */
    public VariableUpdateProperties withValue(String value) {
        this.value = value;
        return this;
    }

    /**
     * Get the description property: Gets or sets the description of the variable.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: Gets or sets the description of the variable.
     *
     * @param description the description value to set.
     * @return the VariableUpdateProperties object itself.
     */
    public VariableUpdateProperties withDescription(String description) {
        this.description = description;
        return this;
    }

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