Class RoutingRuleUpdateParameters

java.lang.Object
com.azure.resourcemanager.frontdoor.models.RoutingRuleUpdateParameters
Direct Known Subclasses:
RoutingRuleProperties

public class RoutingRuleUpdateParameters extends Object
Routing rules to apply to an endpoint.
  • Constructor Details

    • RoutingRuleUpdateParameters

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

    • frontendEndpoints

      public List<com.azure.core.management.SubResource> frontendEndpoints()
      Get the frontendEndpoints property: Frontend endpoints associated with this rule.
      Returns:
      the frontendEndpoints value.
    • withFrontendEndpoints

      public RoutingRuleUpdateParameters withFrontendEndpoints(List<com.azure.core.management.SubResource> frontendEndpoints)
      Set the frontendEndpoints property: Frontend endpoints associated with this rule.
      Parameters:
      frontendEndpoints - the frontendEndpoints value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • acceptedProtocols

      public List<FrontDoorProtocol> acceptedProtocols()
      Get the acceptedProtocols property: Protocol schemes to match for this rule.
      Returns:
      the acceptedProtocols value.
    • withAcceptedProtocols

      public RoutingRuleUpdateParameters withAcceptedProtocols(List<FrontDoorProtocol> acceptedProtocols)
      Set the acceptedProtocols property: Protocol schemes to match for this rule.
      Parameters:
      acceptedProtocols - the acceptedProtocols value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • patternsToMatch

      public List<String> patternsToMatch()
      Get the patternsToMatch property: The route patterns of the rule.
      Returns:
      the patternsToMatch value.
    • withPatternsToMatch

      public RoutingRuleUpdateParameters withPatternsToMatch(List<String> patternsToMatch)
      Set the patternsToMatch property: The route patterns of the rule.
      Parameters:
      patternsToMatch - the patternsToMatch value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • enabledState

      public RoutingRuleEnabledState enabledState()
      Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
      Returns:
      the enabledState value.
    • withEnabledState

      public RoutingRuleUpdateParameters withEnabledState(RoutingRuleEnabledState enabledState)
      Set the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
      Parameters:
      enabledState - the enabledState value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • routeConfiguration

      public RouteConfiguration routeConfiguration()
      Get the routeConfiguration property: A reference to the routing configuration.
      Returns:
      the routeConfiguration value.
    • withRouteConfiguration

      public RoutingRuleUpdateParameters withRouteConfiguration(RouteConfiguration routeConfiguration)
      Set the routeConfiguration property: A reference to the routing configuration.
      Parameters:
      routeConfiguration - the routeConfiguration value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • rulesEngine

      public com.azure.core.management.SubResource rulesEngine()
      Get the rulesEngine property: A reference to a specific Rules Engine Configuration to apply to this route.
      Returns:
      the rulesEngine value.
    • withRulesEngine

      public RoutingRuleUpdateParameters withRulesEngine(com.azure.core.management.SubResource rulesEngine)
      Set the rulesEngine property: A reference to a specific Rules Engine Configuration to apply to this route.
      Parameters:
      rulesEngine - the rulesEngine value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • webApplicationFirewallPolicyLink

      public RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink()
      Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each routing rule (if applicable).
      Returns:
      the webApplicationFirewallPolicyLink value.
    • withWebApplicationFirewallPolicyLink

      public RoutingRuleUpdateParameters withWebApplicationFirewallPolicyLink(RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)
      Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each routing rule (if applicable).
      Parameters:
      webApplicationFirewallPolicyLink - the webApplicationFirewallPolicyLink value to set.
      Returns:
      the RoutingRuleUpdateParameters object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.