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

com.microsoft.azure.management.network.DhcpOptions Maven / Gradle / Ivy

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.network;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * DhcpOptions contains an array of DNS servers available to VMs deployed in
 * the virtual network. Standard DHCP option for a subnet overrides VNET DHCP
 * options.
 */
public class DhcpOptions {
    /**
     * The list of DNS servers IP addresses.
     */
    @JsonProperty(value = "dnsServers")
    private List dnsServers;

    /**
     * Get the list of DNS servers IP addresses.
     *
     * @return the dnsServers value
     */
    public List dnsServers() {
        return this.dnsServers;
    }

    /**
     * Set the list of DNS servers IP addresses.
     *
     * @param dnsServers the dnsServers value to set
     * @return the DhcpOptions object itself.
     */
    public DhcpOptions withDnsServers(List dnsServers) {
        this.dnsServers = dnsServers;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy