Class RoutingRuleUpdateParameters
java.lang.Object
com.azure.resourcemanager.frontdoor.models.RoutingRuleUpdateParameters
- Direct Known Subclasses:
RoutingRuleProperties
Routing rules to apply to an endpoint.
-
Constructor Summary
ConstructorDescriptionCreates an instance of RoutingRuleUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acceptedProtocols property: Protocol schemes to match for this rule.Get the enabledState property: Whether to enable use of this rule.List<com.azure.core.management.SubResource>
Get the frontendEndpoints property: Frontend endpoints associated with this rule.Get the patternsToMatch property: The route patterns of the rule.Get the routeConfiguration property: A reference to the routing configuration.com.azure.core.management.SubResource
Get the rulesEngine property: A reference to a specific Rules Engine Configuration to apply to this route.void
validate()
Validates the instance.Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each routing rule (if applicable).withAcceptedProtocols
(List<FrontDoorProtocol> acceptedProtocols) Set the acceptedProtocols property: Protocol schemes to match for this rule.withEnabledState
(RoutingRuleEnabledState enabledState) Set the enabledState property: Whether to enable use of this rule.withFrontendEndpoints
(List<com.azure.core.management.SubResource> frontendEndpoints) Set the frontendEndpoints property: Frontend endpoints associated with this rule.withPatternsToMatch
(List<String> patternsToMatch) Set the patternsToMatch property: The route patterns of the rule.withRouteConfiguration
(RouteConfiguration routeConfiguration) Set the routeConfiguration property: A reference to the routing configuration.withRulesEngine
(com.azure.core.management.SubResource rulesEngine) Set the rulesEngine property: A reference to a specific Rules Engine Configuration to apply to this route.withWebApplicationFirewallPolicyLink
(RoutingRuleUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink) Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each routing rule (if applicable).
-
Constructor Details
-
RoutingRuleUpdateParameters
public RoutingRuleUpdateParameters()Creates an instance of RoutingRuleUpdateParameters class.
-
-
Method Details
-
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
Get the acceptedProtocols property: Protocol schemes to match for this rule.- Returns:
- the acceptedProtocols value.
-
withAcceptedProtocols
Set the acceptedProtocols property: Protocol schemes to match for this rule.- Parameters:
acceptedProtocols
- the acceptedProtocols value to set.- Returns:
- the RoutingRuleUpdateParameters object itself.
-
patternsToMatch
Get the patternsToMatch property: The route patterns of the rule.- Returns:
- the patternsToMatch value.
-
withPatternsToMatch
Set the patternsToMatch property: The route patterns of the rule.- Parameters:
patternsToMatch
- the patternsToMatch value to set.- Returns:
- the RoutingRuleUpdateParameters object itself.
-
enabledState
Get the enabledState property: Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.- Returns:
- the enabledState value.
-
withEnabledState
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
Get the routeConfiguration property: A reference to the routing configuration.- Returns:
- the routeConfiguration value.
-
withRouteConfiguration
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.
-