Class NetworkInterfaceTapConfigurationPropertiesFormatInner
java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkInterfaceTapConfigurationPropertiesFormatInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkInterfaceTapConfigurationPropertiesFormatInner>
public final class NetworkInterfaceTapConfigurationPropertiesFormatInner
extends Object
implements com.azure.json.JsonSerializable<NetworkInterfaceTapConfigurationPropertiesFormatInner>
Properties of Virtual Network Tap configuration.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner from the JsonReader.Get the provisioningState property: The provisioning state of the network interface tap configuration resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap) Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
NetworkInterfaceTapConfigurationPropertiesFormatInner
public NetworkInterfaceTapConfigurationPropertiesFormatInner()Creates an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner class.
-
-
Method Details
-
virtualNetworkTap
Get the virtualNetworkTap property: The reference to the Virtual Network Tap resource.- Returns:
- the virtualNetworkTap value.
-
withVirtualNetworkTap
public NetworkInterfaceTapConfigurationPropertiesFormatInner withVirtualNetworkTap(VirtualNetworkTapInner virtualNetworkTap) Set the virtualNetworkTap property: The reference to the Virtual Network Tap resource.- Parameters:
virtualNetworkTap- the virtualNetworkTap value to set.- Returns:
- the NetworkInterfaceTapConfigurationPropertiesFormatInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the network interface tap configuration resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<NetworkInterfaceTapConfigurationPropertiesFormatInner>- Throws:
IOException
-
fromJson
public static NetworkInterfaceTapConfigurationPropertiesFormatInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of NetworkInterfaceTapConfigurationPropertiesFormatInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkInterfaceTapConfigurationPropertiesFormatInner 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 NetworkInterfaceTapConfigurationPropertiesFormatInner.
-