Class ApplicationGatewayRewriteRuleSetPropertiesFormat

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

public final class ApplicationGatewayRewriteRuleSetPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayRewriteRuleSetPropertiesFormat>
Properties of rewrite rule set of the application gateway.
  • Constructor Details

    • ApplicationGatewayRewriteRuleSetPropertiesFormat

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

    • rewriteRules

      public List<ApplicationGatewayRewriteRule> rewriteRules()
      Get the rewriteRules property: Rewrite rules in the rewrite rule set.
      Returns:
      the rewriteRules value.
    • withRewriteRules

      Set the rewriteRules property: Rewrite rules in the rewrite rule set.
      Parameters:
      rewriteRules - the rewriteRules value to set.
      Returns:
      the ApplicationGatewayRewriteRuleSetPropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the rewrite rule set resource.
      Returns:
      the provisioningState 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<ApplicationGatewayRewriteRuleSetPropertiesFormat>
      Throws:
      IOException
    • fromJson

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