Class AdminRuleCollectionInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.models.ChildResource
com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionInner
Defines the admin rule collection.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AdminRuleCollectionInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the appliesToGroups property: Groups for configuration.Get the description property: A description of the admin rule collection.Get the provisioningState property: The provisioning state of the resource.com.azure.core.management.SystemDataGet the systemData property: The system metadata related to this resource.voidvalidate()Validates the instance.withAppliesToGroups(List<NetworkManagerSecurityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.withDescription(String description) Set the description property: A description of the admin rule collection.Methods inherited from class com.azure.resourcemanager.network.models.ChildResource
etagMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
AdminRuleCollectionInner
public AdminRuleCollectionInner()Creates an instance of AdminRuleCollectionInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: The system metadata related to this resource.- Returns:
- the systemData value.
-
description
Get the description property: A description of the admin rule collection.- Returns:
- the description value.
-
withDescription
Set the description property: A description of the admin rule collection.- Parameters:
description- the description value to set.- Returns:
- the AdminRuleCollectionInner object itself.
-
appliesToGroups
Get the appliesToGroups property: Groups for configuration.- Returns:
- the appliesToGroups value.
-
withAppliesToGroups
public AdminRuleCollectionInner withAppliesToGroups(List<NetworkManagerSecurityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.- Parameters:
appliesToGroups- the appliesToGroups value to set.- Returns:
- the AdminRuleCollectionInner object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classChildResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-