Class VpnConnectionPacketCaptureStartParameters
java.lang.Object
com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStartParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VpnConnectionPacketCaptureStartParameters>
public final class VpnConnectionPacketCaptureStartParameters
extends Object
implements com.azure.json.JsonSerializable<VpnConnectionPacketCaptureStartParameters>
Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VpnConnectionPacketCaptureStartParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the filterData property: Start Packet capture parameters on vpn connection.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnConnectionPacketCaptureStartParameters from the JsonReader.Get the linkConnectionNames property: List of site link connection names.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withFilterData(String filterData) Set the filterData property: Start Packet capture parameters on vpn connection.withLinkConnectionNames(List<String> linkConnectionNames) Set the linkConnectionNames property: List of site link connection names.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
-
VpnConnectionPacketCaptureStartParameters
public VpnConnectionPacketCaptureStartParameters()Creates an instance of VpnConnectionPacketCaptureStartParameters class.
-
-
Method Details
-
filterData
Get the filterData property: Start Packet capture parameters on vpn connection.- Returns:
- the filterData value.
-
withFilterData
Set the filterData property: Start Packet capture parameters on vpn connection.- Parameters:
filterData- the filterData value to set.- Returns:
- the VpnConnectionPacketCaptureStartParameters object itself.
-
linkConnectionNames
Get the linkConnectionNames property: List of site link connection names.- Returns:
- the linkConnectionNames value.
-
withLinkConnectionNames
public VpnConnectionPacketCaptureStartParameters withLinkConnectionNames(List<String> linkConnectionNames) Set the linkConnectionNames property: List of site link connection names.- Parameters:
linkConnectionNames- the linkConnectionNames value to set.- Returns:
- the VpnConnectionPacketCaptureStartParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VpnConnectionPacketCaptureStartParameters>- Throws:
IOException
-
fromJson
public static VpnConnectionPacketCaptureStartParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VpnConnectionPacketCaptureStartParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VpnConnectionPacketCaptureStartParameters 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 VpnConnectionPacketCaptureStartParameters.
-