Class ApplicationGatewayWafDynamicManifestResultInner

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

public final class ApplicationGatewayWafDynamicManifestResultInner extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayWafDynamicManifestResultInner>
Response for ApplicationGatewayWafDynamicManifest API service call.
  • Constructor Details

    • ApplicationGatewayWafDynamicManifestResultInner

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

    • id

      public String id()
      Get the id property: Resource ID.
      Returns:
      the id value.
    • withId

      Set the id property: Resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the ApplicationGatewayWafDynamicManifestResultInner object itself.
    • name

      public String name()
      Get the name property: Resource name.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: Resource type.
      Returns:
      the type value.
    • availableRuleSets

      public List<ApplicationGatewayFirewallManifestRuleSet> availableRuleSets()
      Get the availableRuleSets property: The available rulesets.
      Returns:
      the availableRuleSets value.
    • withAvailableRuleSets

      Set the availableRuleSets property: The available rulesets.
      Parameters:
      availableRuleSets - the availableRuleSets value to set.
      Returns:
      the ApplicationGatewayWafDynamicManifestResultInner object itself.
    • ruleSetType

      public String ruleSetType()
      Get the ruleSetType property: The type of the web application firewall rule set.
      Returns:
      the ruleSetType value.
    • withRuleSetType

      public ApplicationGatewayWafDynamicManifestResultInner withRuleSetType(String ruleSetType)
      Set the ruleSetType property: The type of the web application firewall rule set.
      Parameters:
      ruleSetType - the ruleSetType value to set.
      Returns:
      the ApplicationGatewayWafDynamicManifestResultInner object itself.
    • ruleSetVersion

      public String ruleSetVersion()
      Get the ruleSetVersion property: The version of the web application firewall rule set type.
      Returns:
      the ruleSetVersion value.
    • withRuleSetVersion

      public ApplicationGatewayWafDynamicManifestResultInner withRuleSetVersion(String ruleSetVersion)
      Set the ruleSetVersion property: The version of the web application firewall rule set type.
      Parameters:
      ruleSetVersion - the ruleSetVersion value to set.
      Returns:
      the ApplicationGatewayWafDynamicManifestResultInner 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<ApplicationGatewayWafDynamicManifestResultInner>
      Throws:
      IOException
    • fromJson

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