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 Summary
ConstructorsConstructorDescriptionCreates an instance of GetVpnSitesConfigurationRequest class. -
Method Summary
Modifier and TypeMethodDescriptionfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GetVpnSitesConfigurationRequest from the JsonReader.Get the outputBlobSasUrl property: The sas-url to download the configurations for vpn-sites.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.vpnSites()Get the vpnSites property: List of resource-ids of the vpn-sites for which config is to be downloaded.withOutputBlobSasUrl(String outputBlobSasUrl) Set the outputBlobSasUrl property: The sas-url to download the configurations for vpn-sites.withVpnSites(List<String> vpnSites) Set the vpnSites property: List of resource-ids of the vpn-sites for which config is to be downloaded.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
-
GetVpnSitesConfigurationRequest
public GetVpnSitesConfigurationRequest()Creates an instance of GetVpnSitesConfigurationRequest class.
-
-
Method Details
-
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
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
Get the outputBlobSasUrl property: The sas-url to download the configurations for vpn-sites.- Returns:
- the outputBlobSasUrl value.
-
withOutputBlobSasUrl
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
- Specified by:
toJsonin interfacecom.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.
-