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

package com.azure.resourcemanager.networkcloud.models;

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

/** HardwareInventoryNetworkInterface represents the network interface details as part of a hardware inventory. */
@Immutable
public final class HardwareInventoryNetworkInterface {
    /*
     * The current status of the link.
     */
    @JsonProperty(value = "linkStatus", access = JsonProperty.Access.WRITE_ONLY)
    private String linkStatus;

    /*
     * The MAC address associated with this interface.
     */
    @JsonProperty(value = "macAddress", access = JsonProperty.Access.WRITE_ONLY)
    private String macAddress;

    /*
     * The name of the interface.
     */
    @JsonProperty(value = "name", access = JsonProperty.Access.WRITE_ONLY)
    private String name;

    /*
     * The resource ID of the network interface for the port on the switch that this machine's interface is connected
     * to.
     */
    @JsonProperty(value = "networkInterfaceId", access = JsonProperty.Access.WRITE_ONLY)
    private String networkInterfaceId;

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

    /**
     * Get the linkStatus property: The current status of the link.
     *
     * @return the linkStatus value.
     */
    public String linkStatus() {
        return this.linkStatus;
    }

    /**
     * Get the macAddress property: The MAC address associated with this interface.
     *
     * @return the macAddress value.
     */
    public String macAddress() {
        return this.macAddress;
    }

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

    /**
     * Get the networkInterfaceId property: The resource ID of the network interface for the port on the switch that
     * this machine's interface is connected to.
     *
     * @return the networkInterfaceId value.
     */
    public String networkInterfaceId() {
        return this.networkInterfaceId;
    }

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