MachineIpAddress Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. MachineIpAddress
- com.
Implements
public final class MachineIpAddress
implements JsonSerializable<MachineIpAddress>
The machine IP address details.
Constructor Summary
Constructor | Description |
---|---|
MachineIpAddress() |
Creates an instance of Machine |
Method Summary
Modifier and Type | Method and Description |
---|---|
Ip |
family()
Get the family property: To determine if address belongs IPv4 or IPv6 family. |
static
Machine |
fromJson(JsonReader jsonReader)
Reads an instance of Machine |
String |
ip()
Get the ip property: IPv4 or IPv6 address of the machine. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
MachineIpAddress
public MachineIpAddress()
Creates an instance of MachineIpAddress class.
Method Details
family
public IpFamily family()
Get the family property: To determine if address belongs IPv4 or IPv6 family.
Returns:
fromJson
public static MachineIpAddress fromJson(JsonReader jsonReader)
Reads an instance of MachineIpAddress from the JsonReader.
Parameters:
Returns:
Throws:
ip
public String ip()
Get the ip property: IPv4 or IPv6 address of the machine.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java