Class MatchVariable
java.lang.Object
com.azure.resourcemanager.network.models.MatchVariable
Define match variables.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionselector()Get the selector property: The selector of match variable.voidvalidate()Validates the instance.Get the variableName property: Match Variable.withSelector(String selector) Set the selector property: The selector of match variable.withVariableName(WebApplicationFirewallMatchVariable variableName) Set the variableName property: Match Variable.
-
Constructor Details
-
MatchVariable
public MatchVariable()Creates an instance of MatchVariable class.
-
-
Method Details
-
variableName
Get the variableName property: Match Variable.- Returns:
- the variableName value.
-
withVariableName
Set the variableName property: Match Variable.- Parameters:
variableName- the variableName value to set.- Returns:
- the MatchVariable object itself.
-
selector
Get the selector property: The selector of match variable.- Returns:
- the selector value.
-
withSelector
Set the selector property: The selector of match variable.- Parameters:
selector- the selector value to set.- Returns:
- the MatchVariable object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-