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 Details

    • VpnConnectionPacketCaptureStartParameters

      public VpnConnectionPacketCaptureStartParameters()
      Creates an instance of VpnConnectionPacketCaptureStartParameters class.
  • Method Details

    • filterData

      public String filterData()
      Get the filterData property: Start Packet capture parameters on vpn connection.
      Returns:
      the filterData value.
    • withFilterData

      public VpnConnectionPacketCaptureStartParameters withFilterData(String filterData)
      Set the filterData property: Start Packet capture parameters on vpn connection.
      Parameters:
      filterData - the filterData value to set.
      Returns:
      the VpnConnectionPacketCaptureStartParameters object itself.
    • linkConnectionNames

      public List<String> 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.