NicIpSettings Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. NicIpSettings
- com.
public final class NicIpSettings
Defines the network interface ip settings.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| NicIpSettings() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Ip |
allocationMethod()
Get the allocation |
| List<String> |
dnsServers()
Get the dns |
| List<String> |
gateway()
Get the gateway property: Gets or sets the gateway. |
| String |
ipAddress()
Get the ip |
|
List<Nic |
ipAddressInfo()
Get the ip |
| String |
primaryWinsServer()
Get the primary |
| String |
secondaryWinsServer()
Get the secondary |
| String |
subnetMask()
Get the subnet |
| void |
validate()
Validates the instance. |
|
Nic |
withAllocationMethod(IpAddressAllocationMethod allocationMethod)
Set the allocation |
|
Nic |
withDnsServers(List<String> dnsServers)
Set the dns |
|
Nic |
withGateway(List<String> gateway)
Set the gateway property: Gets or sets the gateway. |
|
Nic |
withIpAddress(String ipAddress)
Set the ip |
|
Nic |
withSubnetMask(String subnetMask)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
NicIpSettings
public NicIpSettings()
Method Details
allocationMethod
public IpAddressAllocationMethod allocationMethod()
Get the allocationMethod property: Gets or sets the nic allocation method.
Returns:
dnsServers
public List<String> dnsServers()
Get the dnsServers property: Gets or sets the dns servers.
Returns:
gateway
public List<String> gateway()
Get the gateway property: Gets or sets the gateway.
Returns:
ipAddress
public String ipAddress()
Get the ipAddress property: Gets or sets the ip address for the nic.
Returns:
ipAddressInfo
public List<NicIpAddressSettings> ipAddressInfo()
Get the ipAddressInfo property: Gets or sets the IP address information being reported for this NIC. This contains the same IPv4 information above plus IPV6 information.
Returns:
primaryWinsServer
public String primaryWinsServer()
Get the primaryWinsServer property: Gets or sets the primary server.
Returns:
secondaryWinsServer
public String secondaryWinsServer()
Get the secondaryWinsServer property: Gets or sets the secondary server.
Returns:
subnetMask
public String subnetMask()
Get the subnetMask property: Gets or sets the mask.
Returns:
validate
public void validate()
Validates the instance.
withAllocationMethod
public NicIpSettings withAllocationMethod(IpAddressAllocationMethod allocationMethod)
Set the allocationMethod property: Gets or sets the nic allocation method.
Parameters:
Returns:
withDnsServers
public NicIpSettings withDnsServers(List<String> dnsServers)
Set the dnsServers property: Gets or sets the dns servers.
Parameters:
Returns:
withGateway
public NicIpSettings withGateway(List<String> gateway)
Set the gateway property: Gets or sets the gateway.
Parameters:
Returns:
withIpAddress
public NicIpSettings withIpAddress(String ipAddress)
Set the ipAddress property: Gets or sets the ip address for the nic.
Parameters:
Returns:
withSubnetMask
public NicIpSettings withSubnetMask(String subnetMask)
Set the subnetMask property: Gets or sets the mask.
Parameters:
Returns: