DefaultRuleSetPropertyFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.DefaultRuleSetPropertyFormat

Implements

public final class DefaultRuleSetPropertyFormat
implements JsonSerializable<DefaultRuleSetPropertyFormat>

the default web application firewall rule set.

Method Summary

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

Reads an instance of DefaultRuleSetPropertyFormat from the JsonReader.

String ruleSetType()

Get the ruleSetType property: The type of the web application firewall rule set.

String ruleSetVersion()

Get the ruleSetVersion property: The version of the web application firewall rule set type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static DefaultRuleSetPropertyFormat fromJson(JsonReader jsonReader)

Reads an instance of DefaultRuleSetPropertyFormat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the DefaultRuleSetPropertyFormat.

ruleSetType

public String ruleSetType()

Get the ruleSetType property: The type of the web application firewall rule set.

Returns:

the ruleSetType value.

ruleSetVersion

public String ruleSetVersion()

Get the ruleSetVersion property: The version of the web application firewall rule set type.

Returns:

the ruleSetVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to