FirewallPolicyRuleCollectionGroupInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. FirewallPolicyRuleCollectionGroupInner
- com.
- com.
public final class FirewallPolicyRuleCollectionGroupInner
extends SubResource
Rule Collection Group resource.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyRuleCollectionGroupInner() |
Creates an instance of Firewall |
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
Firewall |
fromJson(JsonReader jsonReader)
Reads an instance of Firewall |
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. |
Provisioning |
provisioningState()
Get the provisioning |
List<Firewall |
ruleCollections()
Get the rule |
String |
size()
Get the size property: A read-only string that represents the size of the Firewall |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Rule Group type. |
void |
validate()
Validates the instance. |
Firewall |
withId(String id) |
Firewall |
withName(String name)
Set the name property: The name of the resource that is unique within a resource group. |
Firewall |
withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection Group resource. |
Firewall |
withRuleCollections(List<FirewallPolicyRuleCollection> ruleCollections)
Set the rule |
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:
fromJson
public static FirewallPolicyRuleCollectionGroupInner fromJson(JsonReader jsonReader)
Reads an instance of FirewallPolicyRuleCollectionGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
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:
priority
public Integer priority()
Get the priority property: Priority of the Firewall Policy Rule Collection Group resource.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the firewall policy rule collection group resource.
Returns:
ruleCollections
public List
Get the ruleCollections property: Group of Firewall Policy rule collections.
Returns:
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
FirewallPolicyRuleCollectionGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: Rule Group type.
Returns:
validate
public void validate()
Validates the instance.
withId
public FirewallPolicyRuleCollectionGroupInner withId(String id)
Overrides:
FirewallPolicyRuleCollectionGroupInner.withId(String id)Parameters:
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:
Returns:
withPriority
public FirewallPolicyRuleCollectionGroupInner withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection Group resource.
Parameters:
Returns:
withRuleCollections
public FirewallPolicyRuleCollectionGroupInner withRuleCollections(List
Set the ruleCollections property: Group of Firewall Policy rule collections.
Parameters:
Returns:
Applies to
Azure SDK for Java