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

package com.azure.resourcemanager.synapse.models;

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

/** Virtual Network Profile. */
@Fluent
public final class VirtualNetworkProfile {
    /*
     * Subnet ID used for computes in workspace
     */
    @JsonProperty(value = "computeSubnetId")
    private String computeSubnetId;

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

    /**
     * Get the computeSubnetId property: Subnet ID used for computes in workspace.
     *
     * @return the computeSubnetId value.
     */
    public String computeSubnetId() {
        return this.computeSubnetId;
    }

    /**
     * Set the computeSubnetId property: Subnet ID used for computes in workspace.
     *
     * @param computeSubnetId the computeSubnetId value to set.
     * @return the VirtualNetworkProfile object itself.
     */
    public VirtualNetworkProfile withComputeSubnetId(String computeSubnetId) {
        this.computeSubnetId = computeSubnetId;
        return this;
    }

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