Class MatchVariable
- java.lang.Object
-
- com.azure.resourcemanager.network.models.MatchVariable
-
public final class MatchVariable extends Object
Define match variables.
-
-
Constructor Summary
Constructors Constructor Description MatchVariable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringselector()Get the selector property: The selector of match variable.voidvalidate()Validates the instance.WebApplicationFirewallMatchVariablevariableName()Get the variableName property: Match Variable.MatchVariablewithSelector(String selector)Set the selector property: The selector of match variable.MatchVariablewithVariableName(WebApplicationFirewallMatchVariable variableName)Set the variableName property: Match Variable.
-
-
-
Method Detail
-
variableName
public WebApplicationFirewallMatchVariable variableName()
Get the variableName property: Match Variable.- Returns:
- the variableName value.
-
withVariableName
public MatchVariable withVariableName(WebApplicationFirewallMatchVariable variableName)
Set the variableName property: Match Variable.- Parameters:
variableName- the variableName value to set.- Returns:
- the MatchVariable object itself.
-
selector
public String selector()
Get the selector property: The selector of match variable.- Returns:
- the selector value.
-
withSelector
public MatchVariable withSelector(String selector)
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.
-
-