FirewallPolicyRuleCollectionGroupDraftInner Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. fluent. models. FirewallPolicyRuleCollectionGroupDraftInner
- com.
- com.
public final class FirewallPolicyRuleCollectionGroupDraftInner
extends SubResource
Rule Collection Group resource.
Constructor Summary
Constructor | Description |
---|---|
FirewallPolicyRuleCollectionGroupDraftInner() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
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. |
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
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:
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:
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:
FirewallPolicyRuleCollectionGroupDraftInner.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 FirewallPolicyRuleCollectionGroupDraftInner withId(String id)
Overrides:
FirewallPolicyRuleCollectionGroupDraftInner.withId(String id)Parameters:
withName
public FirewallPolicyRuleCollectionGroupDraftInner 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 FirewallPolicyRuleCollectionGroupDraftInner withPriority(Integer priority)
Set the priority property: Priority of the Firewall Policy Rule Collection Group resource.
Parameters:
Returns:
withRuleCollections
public FirewallPolicyRuleCollectionGroupDraftInner withRuleCollections(List
Set the ruleCollections property: Group of Firewall Policy rule collections.
Parameters:
Returns:
Applies to
Azure SDK for Java