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

package com.azure.resourcemanager.databoxedge.models;

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

/** The network adapter position. */
@Immutable
public final class NetworkAdapterPosition {
    /*
     * The network group.
     */
    @JsonProperty(value = "networkGroup", access = JsonProperty.Access.WRITE_ONLY)
    private NetworkGroup networkGroup;

    /*
     * The port.
     */
    @JsonProperty(value = "port", access = JsonProperty.Access.WRITE_ONLY)
    private Integer port;

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

    /**
     * Get the networkGroup property: The network group.
     *
     * @return the networkGroup value.
     */
    public NetworkGroup networkGroup() {
        return this.networkGroup;
    }

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

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