MatchVariable Class

  • java.lang.Object
    • com.microsoft.azure.management.network.MatchVariable

public class MatchVariable

Define match variables.

Constructor Summary

Constructor Description
MatchVariable()

Method Summary

Modifier and Type Method and Description
java.lang.String selector()

Get the selector of match variable.

WebApplicationFirewallMatchVariable variableName()

Get match Variable.

MatchVariable withSelector(String selector)

Set the selector of match variable.

MatchVariable withVariableName(WebApplicationFirewallMatchVariable variableName)

Set match Variable.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

MatchVariable

public MatchVariable()

Method Details

selector

public String selector()

Get the selector of match variable.

Returns:

the selector value

variableName

public WebApplicationFirewallMatchVariable variableName()

Get match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies'.

Returns:

the variableName value

withSelector

public MatchVariable withSelector(String selector)

Set the selector of match variable.

Parameters:

selector - the selector value to set

Returns:

the MatchVariable object itself.

withVariableName

public MatchVariable withVariableName(WebApplicationFirewallMatchVariable variableName)

Set match Variable. Possible values include: 'RemoteAddr', 'RequestMethod', 'QueryString', 'PostArgs', 'RequestUri', 'RequestHeaders', 'RequestBody', 'RequestCookies'.

Parameters:

variableName - the variableName value to set

Returns:

the MatchVariable object itself.

Applies to