MatchVariable Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. MatchVariable
- com.
Implements
public final class MatchVariable
implements JsonSerializable<MatchVariable>
Define match variables.
Constructor Summary
Constructor | Description |
---|---|
MatchVariable() |
Creates an instance of Match |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Match |
fromJson(JsonReader jsonReader)
Reads an instance of Match |
String |
selector()
Get the selector property: The selector of match variable. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Web |
variableName()
Get the variable |
Match |
withSelector(String selector)
Set the selector property: The selector of match variable. |
Match |
withVariableName(WebApplicationFirewallMatchVariable variableName)
Set the variable |
Methods inherited from java.lang.Object
Constructor Details
MatchVariable
public MatchVariable()
Creates an instance of MatchVariable class.
Method Details
fromJson
public static MatchVariable fromJson(JsonReader jsonReader)
Reads an instance of MatchVariable from the JsonReader.
Parameters:
Returns:
Throws:
selector
public String selector()
Get the selector property: The selector of match variable.
Returns:
toJson
validate
public void validate()
Validates the instance.
variableName
public WebApplicationFirewallMatchVariable variableName()
Get the variableName property: Match Variable.
Returns:
withSelector
public MatchVariable withSelector(String selector)
Set the selector property: The selector of match variable.
Parameters:
Returns:
withVariableName
public MatchVariable withVariableName(WebApplicationFirewallMatchVariable variableName)
Set the variableName property: Match Variable.
Parameters:
Returns:
Applies to
Azure SDK for Java