Layer2ConfigurationPatch Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. Layer2ConfigurationPatch
- com.
Implements
public final class Layer2ConfigurationPatch
implements JsonSerializable<Layer2ConfigurationPatch>
Common properties for Layer2 Configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| Layer2ConfigurationPatch() |
Creates an instance of Layer2Configuration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Layer2Configuration |
fromJson(JsonReader jsonReader)
Reads an instance of Layer2Configuration |
| List<String> |
interfaces()
Get the interfaces property: List of network device interfaces resource IDs. |
| Integer |
mtu()
Get the mtu property: MTU of the packets between PE & CE. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Layer2Configuration |
withInterfaces(List<String> interfaces)
Set the interfaces property: List of network device interfaces resource IDs. |
|
Layer2Configuration |
withMtu(Integer mtu)
Set the mtu property: MTU of the packets between PE & CE. |
Methods inherited from java.lang.Object
Constructor Details
Layer2ConfigurationPatch
public Layer2ConfigurationPatch()
Creates an instance of Layer2ConfigurationPatch class.
Method Details
fromJson
public static Layer2ConfigurationPatch fromJson(JsonReader jsonReader)
Reads an instance of Layer2ConfigurationPatch from the JsonReader.
Parameters:
Returns:
Throws:
interfaces
public List<String> interfaces()
Get the interfaces property: List of network device interfaces resource IDs.
Returns:
mtu
public Integer mtu()
Get the mtu property: MTU of the packets between PE & CE.
Returns:
toJson
withInterfaces
public Layer2ConfigurationPatch withInterfaces(List<String> interfaces)
Set the interfaces property: List of network device interfaces resource IDs.
Parameters:
Returns:
withMtu
public Layer2ConfigurationPatch withMtu(Integer mtu)
Set the mtu property: MTU of the packets between PE & CE.
Parameters:
Returns: