Class SignaturesOverridesInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.fluent.models.SignaturesOverridesInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class SignaturesOverridesInner extends com.azure.core.management.ProxyResource
Contains all specific policy signatures overrides for the IDPS.
  • Constructor Details

    • SignaturesOverridesInner

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

    • name

      public String name()
      Get the name property: Contains the name of the resource (default).
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • withName

      public SignaturesOverridesInner withName(String name)
      Set the name property: Contains the name of the resource (default).
      Parameters:
      name - the name value to set.
      Returns:
      the SignaturesOverridesInner object itself.
    • id

      public String id()
      Get the id property: Will contain the resource id of the signature override resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withId

      public SignaturesOverridesInner withId(String id)
      Set the id property: Will contain the resource id of the signature override resource.
      Parameters:
      id - the id value to set.
      Returns:
      the SignaturesOverridesInner object itself.
    • type

      public String type()
      Get the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • withType

      public SignaturesOverridesInner withType(String type)
      Set the type property: Will contain the type of the resource: Microsoft.Network/firewallPolicies/intrusionDetectionSignaturesOverrides.
      Parameters:
      type - the type value to set.
      Returns:
      the SignaturesOverridesInner object itself.
    • properties

      public SignaturesOverridesProperties properties()
      Get the properties property: Will contain the properties of the resource (the actual signature overrides).
      Returns:
      the properties value.
    • withProperties

      public SignaturesOverridesInner withProperties(SignaturesOverridesProperties properties)
      Set the properties property: Will contain the properties of the resource (the actual signature overrides).
      Parameters:
      properties - the properties value to set.
      Returns:
      the SignaturesOverridesInner 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

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