FirewallPolicyRuleCollectionGroupDraftInner Class

public final class FirewallPolicyRuleCollectionGroupDraftInner
extends SubResourceModel

Rule Collection Group resource.

Constructor Summary

Constructor Description
FirewallPolicyRuleCollectionGroupDraftInner()

Creates an instance of FirewallPolicyRuleCollectionGroupDraftInner class.

Method Summary

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

Reads an instance of FirewallPolicyRuleCollectionGroupDraftInner from the JsonReader.

Integer priority()

Get the priority property: Priority of the Firewall Policy Rule Collection Group resource.

List<FirewallPolicyRuleCollection> ruleCollections()

Get the ruleCollections property: Group of Firewall Policy rule collections.

String size()

Get the size property: A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

FirewallPolicyRuleCollectionGroupDraftInner withId(String id)
FirewallPolicyRuleCollectionGroupDraftInner withName(String name)

Set the name property: Name of the resource.

FirewallPolicyRuleCollectionGroupDraftInner withPriority(Integer priority)

Set the priority property: Priority of the Firewall Policy Rule Collection Group resource.

FirewallPolicyRuleCollectionGroupDraftInner withRuleCollections(List<FirewallPolicyRuleCollection> ruleCollections)

Set the ruleCollections property: Group of Firewall Policy rule collections.

Methods inherited from SubResource

id

Methods inherited from SubResourceModel

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyRuleCollectionGroupDraftInner

public FirewallPolicyRuleCollectionGroupDraftInner()

Creates an instance of FirewallPolicyRuleCollectionGroupDraftInner class.

Method Details

fromJson

public static FirewallPolicyRuleCollectionGroupDraftInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyRuleCollectionGroupDraftInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

priority

public Integer priority()

Get the priority property: Priority of the Firewall Policy Rule Collection Group resource.

Returns:

the priority value.

ruleCollections

public List<FirewallPolicyRuleCollection> ruleCollections()

Get the ruleCollections property: Group of Firewall Policy rule collections.

Returns:

the ruleCollections value.

size

public String size()

Get the size property: A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB).

Returns:

the size value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

FirewallPolicyRuleCollectionGroupDraftInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

FirewallPolicyRuleCollectionGroupDraftInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

FirewallPolicyRuleCollectionGroupDraftInner.validate()

withId

public FirewallPolicyRuleCollectionGroupDraftInner withId(String id)

Overrides:

FirewallPolicyRuleCollectionGroupDraftInner.withId(String id)

Parameters:

id

withName

public FirewallPolicyRuleCollectionGroupDraftInner withName(String name)

Set the name property: Name of the resource.

Overrides:

FirewallPolicyRuleCollectionGroupDraftInner.withName(String name)

Parameters:

name

withPriority

public FirewallPolicyRuleCollectionGroupDraftInner withPriority(Integer priority)

Set the priority property: Priority of the Firewall Policy Rule Collection Group resource.

Parameters:

priority - the priority value to set.

Returns:

the FirewallPolicyRuleCollectionGroupDraftInner object itself.

withRuleCollections

public FirewallPolicyRuleCollectionGroupDraftInner withRuleCollections(List<FirewallPolicyRuleCollection> ruleCollections)

Set the ruleCollections property: Group of Firewall Policy rule collections.

Parameters:

ruleCollections - the ruleCollections value to set.

Returns:

the FirewallPolicyRuleCollectionGroupDraftInner object itself.

Applies to