All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.netapp.models.NicInfo Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2024-07-01-preview.

There is a newer version: 1.6.0-beta.1
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.netapp.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/**
 * NIC information
 * 
 * NIC information and list of volumes for which the NIC has the primary mount ip address.
 */
@Fluent
public final class NicInfo {
    /*
     * ipAddress
     */
    @JsonProperty(value = "ipAddress", access = JsonProperty.Access.WRITE_ONLY)
    private String ipAddress;

    /*
     * Volume resource Ids
     */
    @JsonProperty(value = "volumeResourceIds")
    private List volumeResourceIds;

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

    /**
     * Get the ipAddress property: ipAddress.
     * 
     * @return the ipAddress value.
     */
    public String ipAddress() {
        return this.ipAddress;
    }

    /**
     * Get the volumeResourceIds property: Volume resource Ids.
     * 
     * @return the volumeResourceIds value.
     */
    public List volumeResourceIds() {
        return this.volumeResourceIds;
    }

    /**
     * Set the volumeResourceIds property: Volume resource Ids.
     * 
     * @param volumeResourceIds the volumeResourceIds value to set.
     * @return the NicInfo object itself.
     */
    public NicInfo withVolumeResourceIds(List volumeResourceIds) {
        this.volumeResourceIds = volumeResourceIds;
        return this;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy