Class ApplicationGatewayRequestRoutingRulePropertiesFormat

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

public final class ApplicationGatewayRequestRoutingRulePropertiesFormat extends Object implements com.azure.json.JsonSerializable<ApplicationGatewayRequestRoutingRulePropertiesFormat>
Properties of request routing rule of the application gateway.
  • Constructor Details

    • ApplicationGatewayRequestRoutingRulePropertiesFormat

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

    • ruleType

      Get the ruleType property: Rule type.
      Returns:
      the ruleType value.
    • withRuleType

      Set the ruleType property: Rule type.
      Parameters:
      ruleType - the ruleType value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • priority

      public Integer priority()
      Get the priority property: Priority of the request routing rule.
      Returns:
      the priority value.
    • withPriority

      Set the priority property: Priority of the request routing rule.
      Parameters:
      priority - the priority value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • backendAddressPool

      public com.azure.core.management.SubResource backendAddressPool()
      Get the backendAddressPool property: Backend address pool resource of the application gateway.
      Returns:
      the backendAddressPool value.
    • withBackendAddressPool

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withBackendAddressPool(com.azure.core.management.SubResource backendAddressPool)
      Set the backendAddressPool property: Backend address pool resource of the application gateway.
      Parameters:
      backendAddressPool - the backendAddressPool value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • backendHttpSettings

      public com.azure.core.management.SubResource backendHttpSettings()
      Get the backendHttpSettings property: Backend http settings resource of the application gateway.
      Returns:
      the backendHttpSettings value.
    • withBackendHttpSettings

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withBackendHttpSettings(com.azure.core.management.SubResource backendHttpSettings)
      Set the backendHttpSettings property: Backend http settings resource of the application gateway.
      Parameters:
      backendHttpSettings - the backendHttpSettings value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • httpListener

      public com.azure.core.management.SubResource httpListener()
      Get the httpListener property: Http listener resource of the application gateway.
      Returns:
      the httpListener value.
    • withHttpListener

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withHttpListener(com.azure.core.management.SubResource httpListener)
      Set the httpListener property: Http listener resource of the application gateway.
      Parameters:
      httpListener - the httpListener value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • urlPathMap

      public com.azure.core.management.SubResource urlPathMap()
      Get the urlPathMap property: URL path map resource of the application gateway.
      Returns:
      the urlPathMap value.
    • withUrlPathMap

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withUrlPathMap(com.azure.core.management.SubResource urlPathMap)
      Set the urlPathMap property: URL path map resource of the application gateway.
      Parameters:
      urlPathMap - the urlPathMap value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • rewriteRuleSet

      public com.azure.core.management.SubResource rewriteRuleSet()
      Get the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.
      Returns:
      the rewriteRuleSet value.
    • withRewriteRuleSet

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withRewriteRuleSet(com.azure.core.management.SubResource rewriteRuleSet)
      Set the rewriteRuleSet property: Rewrite Rule Set resource in Basic rule of the application gateway.
      Parameters:
      rewriteRuleSet - the rewriteRuleSet value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • redirectConfiguration

      public com.azure.core.management.SubResource redirectConfiguration()
      Get the redirectConfiguration property: Redirect configuration resource of the application gateway.
      Returns:
      the redirectConfiguration value.
    • withRedirectConfiguration

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withRedirectConfiguration(com.azure.core.management.SubResource redirectConfiguration)
      Set the redirectConfiguration property: Redirect configuration resource of the application gateway.
      Parameters:
      redirectConfiguration - the redirectConfiguration value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • loadDistributionPolicy

      public com.azure.core.management.SubResource loadDistributionPolicy()
      Get the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.
      Returns:
      the loadDistributionPolicy value.
    • withLoadDistributionPolicy

      public ApplicationGatewayRequestRoutingRulePropertiesFormat withLoadDistributionPolicy(com.azure.core.management.SubResource loadDistributionPolicy)
      Set the loadDistributionPolicy property: Load Distribution Policy resource of the application gateway.
      Parameters:
      loadDistributionPolicy - the loadDistributionPolicy value to set.
      Returns:
      the ApplicationGatewayRequestRoutingRulePropertiesFormat object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the request routing rule 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<ApplicationGatewayRequestRoutingRulePropertiesFormat>
      Throws:
      IOException
    • fromJson

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