Class AdminRuleCollectionPropertiesFormat
java.lang.Object
com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionPropertiesFormat
Defines the admin rule collection properties.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AdminRuleCollectionPropertiesFormat 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.Get the resourceGuid property: Unique identifier for 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.
-
Constructor Details
-
AdminRuleCollectionPropertiesFormat
public AdminRuleCollectionPropertiesFormat()Creates an instance of AdminRuleCollectionPropertiesFormat class.
-
-
Method Details
-
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 AdminRuleCollectionPropertiesFormat object itself.
-
appliesToGroups
Get the appliesToGroups property: Groups for configuration.- Returns:
- the appliesToGroups value.
-
withAppliesToGroups
public AdminRuleCollectionPropertiesFormat withAppliesToGroups(List<NetworkManagerSecurityGroupItem> appliesToGroups) Set the appliesToGroups property: Groups for configuration.- Parameters:
appliesToGroups- the appliesToGroups value to set.- Returns:
- the AdminRuleCollectionPropertiesFormat object itself.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
resourceGuid
Get the resourceGuid property: Unique identifier for this resource.- Returns:
- the resourceGuid value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-