Class P2SVpnConnectionHealthRequest

java.lang.Object
com.azure.resourcemanager.network.models.P2SVpnConnectionHealthRequest
All Implemented Interfaces:
com.azure.json.JsonSerializable<P2SVpnConnectionHealthRequest>

public final class P2SVpnConnectionHealthRequest extends Object implements com.azure.json.JsonSerializable<P2SVpnConnectionHealthRequest>
List of P2S Vpn connection health request.
  • Constructor Details

    • P2SVpnConnectionHealthRequest

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

    • vpnUserNamesFilter

      public List<String> vpnUserNamesFilter()
      Get the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
      Returns:
      the vpnUserNamesFilter value.
    • withVpnUserNamesFilter

      public P2SVpnConnectionHealthRequest withVpnUserNamesFilter(List<String> vpnUserNamesFilter)
      Set the vpnUserNamesFilter property: The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.
      Parameters:
      vpnUserNamesFilter - the vpnUserNamesFilter value to set.
      Returns:
      the P2SVpnConnectionHealthRequest object itself.
    • outputBlobSasUrl

      public String outputBlobSasUrl()
      Get the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.
      Returns:
      the outputBlobSasUrl value.
    • withOutputBlobSasUrl

      public P2SVpnConnectionHealthRequest withOutputBlobSasUrl(String outputBlobSasUrl)
      Set the outputBlobSasUrl property: The sas-url to download the P2S Vpn connection health detail.
      Parameters:
      outputBlobSasUrl - the outputBlobSasUrl value to set.
      Returns:
      the P2SVpnConnectionHealthRequest 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<P2SVpnConnectionHealthRequest>
      Throws:
      IOException
    • fromJson

      public static P2SVpnConnectionHealthRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of P2SVpnConnectionHealthRequest from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of P2SVpnConnectionHealthRequest 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 P2SVpnConnectionHealthRequest.