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

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

import com.azure.core.annotation.Fluent;
import com.azure.resourcemanager.mobilenetwork.models.ProvisioningState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Data network properties. */
@Fluent
public final class DataNetworkPropertiesFormat {
    /*
     * The provisioning state of the data network resource.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ProvisioningState provisioningState;

    /*
     * An optional description for this data network.
     */
    @JsonProperty(value = "description")
    private String description;

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

    /**
     * Get the provisioningState property: The provisioning state of the data network resource.
     *
     * @return the provisioningState value.
     */
    public ProvisioningState provisioningState() {
        return this.provisioningState;
    }

    /**
     * Get the description property: An optional description for this data network.
     *
     * @return the description value.
     */
    public String description() {
        return this.description;
    }

    /**
     * Set the description property: An optional description for this data network.
     *
     * @param description the description value to set.
     * @return the DataNetworkPropertiesFormat object itself.
     */
    public DataNetworkPropertiesFormat withDescription(String description) {
        this.description = description;
        return this;
    }

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