IpAddress Class
- java.
lang. Object - com.
azure. resourcemanager. largeinstance. models. IpAddress
- com.
Implements
public final class IpAddress
implements JsonSerializable<IpAddress>
Specifies the IP address of the network interface.
Constructor Summary
| Constructor | Description |
|---|---|
| IpAddress() |
Creates an instance of Ip |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Ip |
fromJson(JsonReader jsonReader)
Reads an instance of Ip |
| String |
ipAddress()
Get the ip |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ip |
withIpAddress(String ipAddress)
Set the ip |
Methods inherited from java.lang.Object
Constructor Details
IpAddress
public IpAddress()
Creates an instance of IpAddress class.
Method Details
fromJson
public static IpAddress fromJson(JsonReader jsonReader)
Reads an instance of IpAddress from the JsonReader.
Parameters:
Returns:
Throws:
ipAddress
public String ipAddress()
Get the ipAddress property: Specifies the IP address of the network interface.
Returns:
toJson
validate
public void validate()
Validates the instance.
withIpAddress
public IpAddress withIpAddress(String ipAddress)
Set the ipAddress property: Specifies the IP address of the network interface.
Parameters:
Returns: