GroupByVariable Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.GroupByVariable

Implements

public final class GroupByVariable
implements JsonSerializable<GroupByVariable>

Define user session group by clause variables.

Constructor Summary

Constructor Description
GroupByVariable()

Creates an instance of GroupByVariable class.

Method Summary

Modifier and Type Method and Description
static GroupByVariable fromJson(JsonReader jsonReader)

Reads an instance of GroupByVariable from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ApplicationGatewayFirewallUserSessionVariable variableName()

Get the variableName property: User Session clause variable.

GroupByVariable withVariableName(ApplicationGatewayFirewallUserSessionVariable variableName)

Set the variableName property: User Session clause variable.

Methods inherited from java.lang.Object

Constructor Details

GroupByVariable

public GroupByVariable()

Creates an instance of GroupByVariable class.

Method Details

fromJson

public static GroupByVariable fromJson(JsonReader jsonReader)

Reads an instance of GroupByVariable from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GroupByVariable if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

variableName

public ApplicationGatewayFirewallUserSessionVariable variableName()

Get the variableName property: User Session clause variable.

Returns:

the variableName value.

withVariableName

public GroupByVariable withVariableName(ApplicationGatewayFirewallUserSessionVariable variableName)

Set the variableName property: User Session clause variable.

Parameters:

variableName - the variableName value to set.

Returns:

the GroupByVariable object itself.

Applies to