Class RulesEngineInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.frontdoor.fluent.models.RulesEngineInner
public final class RulesEngineInner
extends com.azure.core.management.ProxyResource
A rules engine configuration containing a list of rules that will run to modify the runtime behavior of the request
and response.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the resourceState property: Resource status of the Front Door or Front Door SubResource.rules()
Get the rules property: A list of rules that define a particular Rules Engine Configuration.void
validate()
Validates the instance.withRules
(List<RulesEngineRule> rules) Set the rules property: A list of rules that define a particular Rules Engine Configuration.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
RulesEngineInner
public RulesEngineInner()Creates an instance of RulesEngineInner class.
-
-
Method Details
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
rules
Get the rules property: A list of rules that define a particular Rules Engine Configuration.- Returns:
- the rules value.
-
withRules
Set the rules property: A list of rules that define a particular Rules Engine Configuration.- Parameters:
rules
- the rules value to set.- Returns:
- the RulesEngineInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-