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

package com.azure.resourcemanager.nginx.models;

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

/** The NginxConfigurationPackage model. */
@Fluent
public final class NginxConfigurationPackage {
    /*
     * The data property.
     */
    @JsonProperty(value = "data")
    private String data;

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

    /**
     * Get the data property: The data property.
     *
     * @return the data value.
     */
    public String data() {
        return this.data;
    }

    /**
     * Set the data property: The data property.
     *
     * @param data the data value to set.
     * @return the NginxConfigurationPackage object itself.
     */
    public NginxConfigurationPackage withData(String data) {
        this.data = data;
        return this;
    }

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