Class VirtualWanSecurityProvider
java.lang.Object
com.azure.resourcemanager.network.models.VirtualWanSecurityProvider
- All Implemented Interfaces:
com.azure.json.JsonSerializable<VirtualWanSecurityProvider>
public final class VirtualWanSecurityProvider
extends Object
implements com.azure.json.JsonSerializable<VirtualWanSecurityProvider>
Collection of SecurityProviders.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of VirtualWanSecurityProvider class. -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualWanSecurityProviderfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of VirtualWanSecurityProvider from the JsonReader.name()Get the name property: Name of the security provider.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: Name of the security provider.url()Get the url property: Url of the security provider.voidvalidate()Validates the instance.Set the name property: Name of the security provider.Set the url property: Url of the security provider.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
-
VirtualWanSecurityProvider
public VirtualWanSecurityProvider()Creates an instance of VirtualWanSecurityProvider class.
-
-
Method Details
-
name
Get the name property: Name of the security provider.- Returns:
- the name value.
-
withName
Set the name property: Name of the security provider.- Parameters:
name- the name value to set.- Returns:
- the VirtualWanSecurityProvider object itself.
-
url
Get the url property: Url of the security provider.- Returns:
- the url value.
-
withUrl
Set the url property: Url of the security provider.- Parameters:
url- the url value to set.- Returns:
- the VirtualWanSecurityProvider object itself.
-
type
Get the type property: Name of the security provider.- Returns:
- the type value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<VirtualWanSecurityProvider>- Throws:
IOException
-
fromJson
public static VirtualWanSecurityProvider fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of VirtualWanSecurityProvider from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of VirtualWanSecurityProvider 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 VirtualWanSecurityProvider.
-