ManagedRuleSetDefinitionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.cdn.fluent.models.ManagedRuleSetDefinitionProperties

Implements

public final class ManagedRuleSetDefinitionProperties
implements JsonSerializable<ManagedRuleSetDefinitionProperties>

Properties for a managed rule set definition.

Constructor Summary

Constructor Description
ManagedRuleSetDefinitionProperties()

Creates an instance of ManagedRuleSetDefinitionProperties class.

Method Summary

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

Reads an instance of ManagedRuleSetDefinitionProperties from the JsonReader.

String provisioningState()

Get the provisioningState property: Provisioning state of the managed rule set.

List<ManagedRuleGroupDefinition> ruleGroups()

Get the ruleGroups property: Rule groups of the managed rule set.

String ruleSetType()

Get the ruleSetType property: Type of the managed rule set.

String ruleSetVersion()

Get the ruleSetVersion property: Version of the managed rule set type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ManagedRuleSetDefinitionProperties

public ManagedRuleSetDefinitionProperties()

Creates an instance of ManagedRuleSetDefinitionProperties class.

Method Details

fromJson

public static ManagedRuleSetDefinitionProperties fromJson(JsonReader jsonReader)

Reads an instance of ManagedRuleSetDefinitionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedRuleSetDefinitionProperties 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 ManagedRuleSetDefinitionProperties.

provisioningState

public String provisioningState()

Get the provisioningState property: Provisioning state of the managed rule set.

Returns:

the provisioningState value.

ruleGroups

public List<ManagedRuleGroupDefinition> ruleGroups()

Get the ruleGroups property: Rule groups of the managed rule set.

Returns:

the ruleGroups value.

ruleSetType

public String ruleSetType()

Get the ruleSetType property: Type of the managed rule set.

Returns:

the ruleSetType value.

ruleSetVersion

public String ruleSetVersion()

Get the ruleSetVersion property: Version of the managed 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