Class ExpressRouteCircuitArpTable
java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteCircuitArpTable
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteCircuitArpTable>
public final class ExpressRouteCircuitArpTable
extends Object
implements com.azure.json.JsonSerializable<ExpressRouteCircuitArpTable>
The ARP table associated with the ExpressRouteCircuit.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ExpressRouteCircuitArpTable class. -
Method Summary
Modifier and TypeMethodDescriptionage()
Get the age property: Entry age in minutes.static ExpressRouteCircuitArpTable
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteCircuitArpTable from the JsonReader.Get the interfaceProperty property: Interface address.Get the ipAddress property: The IP address.Get the macAddress property: The MAC address.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.Set the age property: Entry age in minutes.withInterfaceProperty
(String interfaceProperty) Set the interfaceProperty property: Interface address.withIpAddress
(String ipAddress) Set the ipAddress property: The IP address.withMacAddress
(String macAddress) Set the macAddress property: The MAC address.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteCircuitArpTable
public ExpressRouteCircuitArpTable()Creates an instance of ExpressRouteCircuitArpTable class.
-
-
Method Details
-
age
Get the age property: Entry age in minutes.- Returns:
- the age value.
-
withAge
Set the age property: Entry age in minutes.- Parameters:
age
- the age value to set.- Returns:
- the ExpressRouteCircuitArpTable object itself.
-
interfaceProperty
Get the interfaceProperty property: Interface address.- Returns:
- the interfaceProperty value.
-
withInterfaceProperty
Set the interfaceProperty property: Interface address.- Parameters:
interfaceProperty
- the interfaceProperty value to set.- Returns:
- the ExpressRouteCircuitArpTable object itself.
-
ipAddress
Get the ipAddress property: The IP address.- Returns:
- the ipAddress value.
-
withIpAddress
Set the ipAddress property: The IP address.- Parameters:
ipAddress
- the ipAddress value to set.- Returns:
- the ExpressRouteCircuitArpTable object itself.
-
macAddress
Get the macAddress property: The MAC address.- Returns:
- the macAddress value.
-
withMacAddress
Set the macAddress property: The MAC address.- Parameters:
macAddress
- the macAddress value to set.- Returns:
- the ExpressRouteCircuitArpTable object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<ExpressRouteCircuitArpTable>
- Throws:
IOException
-
fromJson
public static ExpressRouteCircuitArpTable fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExpressRouteCircuitArpTable from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of ExpressRouteCircuitArpTable if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException
- If an error occurs while reading the ExpressRouteCircuitArpTable.
-