Class VpnConnectionPacketCaptureStopParameters
java.lang.Object
com.azure.resourcemanager.network.models.VpnConnectionPacketCaptureStopParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VpnConnectionPacketCaptureStopParameters>
public final class VpnConnectionPacketCaptureStopParameters
extends Object
implements com.azure.json.JsonSerializable<VpnConnectionPacketCaptureStopParameters>
Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VpnConnectionPacketCaptureStopParameters class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VpnConnectionPacketCaptureStopParameters from the JsonReader.Get the linkConnectionNames property: List of site link connection names.sasUrl()Get the sasUrl property: SAS url for packet capture on vpn connection.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withLinkConnectionNames(List<String> linkConnectionNames) Set the linkConnectionNames property: List of site link connection names.withSasUrl(String sasUrl) Set the sasUrl property: SAS url for packet capture on vpn connection.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
-
VpnConnectionPacketCaptureStopParameters
public VpnConnectionPacketCaptureStopParameters()Creates an instance of VpnConnectionPacketCaptureStopParameters class.
-
-
Method Details
-
sasUrl
Get the sasUrl property: SAS url for packet capture on vpn connection.- Returns:
- the sasUrl value.
-
withSasUrl
Set the sasUrl property: SAS url for packet capture on vpn connection.- Parameters:
sasUrl- the sasUrl value to set.- Returns:
- the VpnConnectionPacketCaptureStopParameters object itself.
-
linkConnectionNames
Get the linkConnectionNames property: List of site link connection names.- Returns:
- the linkConnectionNames value.
-
withLinkConnectionNames
public VpnConnectionPacketCaptureStopParameters withLinkConnectionNames(List<String> linkConnectionNames) Set the linkConnectionNames property: List of site link connection names.- Parameters:
linkConnectionNames- the linkConnectionNames value to set.- Returns:
- the VpnConnectionPacketCaptureStopParameters 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<VpnConnectionPacketCaptureStopParameters>- Throws:
IOException
-
fromJson
public static VpnConnectionPacketCaptureStopParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VpnConnectionPacketCaptureStopParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VpnConnectionPacketCaptureStopParameters 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 VpnConnectionPacketCaptureStopParameters.
-