Class GetVpnSitesConfigurationRequest

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

public final class GetVpnSitesConfigurationRequest extends Object implements com.azure.json.JsonSerializable<GetVpnSitesConfigurationRequest>
List of Vpn-Sites.
  • Constructor Details

    • GetVpnSitesConfigurationRequest

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

    • vpnSites

      public List<String> vpnSites()
      Get the vpnSites property: List of resource-ids of the vpn-sites for which config is to be downloaded.
      Returns:
      the vpnSites value.
    • withVpnSites

      public GetVpnSitesConfigurationRequest withVpnSites(List<String> vpnSites)
      Set the vpnSites property: List of resource-ids of the vpn-sites for which config is to be downloaded.
      Parameters:
      vpnSites - the vpnSites value to set.
      Returns:
      the GetVpnSitesConfigurationRequest object itself.
    • outputBlobSasUrl

      public String outputBlobSasUrl()
      Get the outputBlobSasUrl property: The sas-url to download the configurations for vpn-sites.
      Returns:
      the outputBlobSasUrl value.
    • withOutputBlobSasUrl

      public GetVpnSitesConfigurationRequest withOutputBlobSasUrl(String outputBlobSasUrl)
      Set the outputBlobSasUrl property: The sas-url to download the configurations for vpn-sites.
      Parameters:
      outputBlobSasUrl - the outputBlobSasUrl value to set.
      Returns:
      the GetVpnSitesConfigurationRequest 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<GetVpnSitesConfigurationRequest>
      Throws:
      IOException
    • fromJson

      public static GetVpnSitesConfigurationRequest fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GetVpnSitesConfigurationRequest from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GetVpnSitesConfigurationRequest if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the GetVpnSitesConfigurationRequest.