NicIpAddressSettings Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. NicIpAddressSettings
- com.
Implements
public final class NicIpAddressSettings
implements JsonSerializable<NicIpAddressSettings>
IP address information for a virtual network adapter reported by the fabric.
Constructor Summary
| Constructor | Description |
|---|---|
| NicIpAddressSettings() |
Creates an instance of Nic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
allocationMethod()
Get the allocation |
|
static
Nic |
fromJson(JsonReader jsonReader)
Reads an instance of Nic |
| String |
ipAddress()
Get the ip |
| String |
subnetMask()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
NicIpAddressSettings
public NicIpAddressSettings()
Creates an instance of NicIpAddressSettings class.
Method Details
allocationMethod
public String allocationMethod()
Get the allocationMethod property: Gets the ip address allocation method.
Returns:
fromJson
public static NicIpAddressSettings fromJson(JsonReader jsonReader)
Reads an instance of NicIpAddressSettings from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: Gets the ip address for the nic.
Returns:
subnetMask
public String subnetMask()
Get the subnetMask property: Gets the mask.
Returns:
toJson
validate
public void validate()
Validates the instance.