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

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

import com.azure.core.annotation.Immutable;
import com.azure.resourcemanager.datalakeanalytics.models.VirtualNetworkRuleState;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The VirtualNetwork Rule properties. */
@Immutable
public final class VirtualNetworkRuleProperties {
    /*
     * The resource identifier for the subnet
     */
    @JsonProperty(value = "subnetId", access = JsonProperty.Access.WRITE_ONLY)
    private String subnetId;

    /*
     * The current state of the VirtualNetwork Rule
     */
    @JsonProperty(value = "virtualNetworkRuleState", access = JsonProperty.Access.WRITE_ONLY)
    private VirtualNetworkRuleState virtualNetworkRuleState;

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

    /**
     * Get the subnetId property: The resource identifier for the subnet.
     *
     * @return the subnetId value.
     */
    public String subnetId() {
        return this.subnetId;
    }

    /**
     * Get the virtualNetworkRuleState property: The current state of the VirtualNetwork Rule.
     *
     * @return the virtualNetworkRuleState value.
     */
    public VirtualNetworkRuleState virtualNetworkRuleState() {
        return this.virtualNetworkRuleState;
    }

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