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 Details

    • VirtualWanSecurityProvider

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

    • name

      public String name()
      Get the name property: Name of the security provider.
      Returns:
      the name value.
    • withName

      public VirtualWanSecurityProvider withName(String name)
      Set the name property: Name of the security provider.
      Parameters:
      name - the name value to set.
      Returns:
      the VirtualWanSecurityProvider object itself.
    • url

      public String url()
      Get the url property: Url of the security provider.
      Returns:
      the url value.
    • withUrl

      public VirtualWanSecurityProvider withUrl(String url)
      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

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