FirewallPolicyRuleCollectionGroupInner Class

public final class FirewallPolicyRuleCollectionGroupInner
extends SubResource

Rule Collection Group resource.

Constructor Summary

Constructor Description
FirewallPolicyRuleCollectionGroupInner()

Creates an instance of FirewallPolicyRuleCollectionGroupInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

static FirewallPolicyRuleCollectionGroupInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyRuleCollectionGroupInner from the JsonReader.

String name()

Get the name property: The name of the resource that is unique within a resource group.

Integer priority()

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

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state 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: Rule Group type.

void validate()

Validates the instance.

FirewallPolicyRuleCollectionGroupInner withId(String id)
FirewallPolicyRuleCollectionGroupInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group.

FirewallPolicyRuleCollectionGroupInner withPriority(Integer priority)

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

FirewallPolicyRuleCollectionGroupInner withRuleCollections(List<FirewallPolicyRuleCollection> ruleCollections)

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

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

FirewallPolicyRuleCollectionGroupInner

public FirewallPolicyRuleCollectionGroupInner()

Creates an instance of FirewallPolicyRuleCollectionGroupInner class.

Method Details

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

fromJson

public static FirewallPolicyRuleCollectionGroupInner fromJson(JsonReader jsonReader)

Reads an instance of FirewallPolicyRuleCollectionGroupInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Returns:

the name value.

priority

public Integer priority()

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

Returns:

the priority value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the firewall policy rule collection group resource.

Returns:

the provisioningState value.

ruleCollections

public List 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:

FirewallPolicyRuleCollectionGroupInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Rule Group type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public FirewallPolicyRuleCollectionGroupInner withId(String id)

Overrides:

FirewallPolicyRuleCollectionGroupInner.withId(String id)

Parameters:

id

withName

public FirewallPolicyRuleCollectionGroupInner withName(String name)

Set the name property: The name of the resource that is unique within a resource group. This name can be used to access the resource.

Parameters:

name - the name value to set.

Returns:

the FirewallPolicyRuleCollectionGroupInner object itself.

withPriority

public FirewallPolicyRuleCollectionGroupInner 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 FirewallPolicyRuleCollectionGroupInner object itself.

withRuleCollections

public FirewallPolicyRuleCollectionGroupInner withRuleCollections(List ruleCollections)

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

Parameters:

ruleCollections - the ruleCollections value to set.

Returns:

the FirewallPolicyRuleCollectionGroupInner object itself.

Applies to