Class AdminRuleCollectionInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.network.models.ChildResource
com.azure.resourcemanager.network.fluent.models.AdminRuleCollectionInner

public final class AdminRuleCollectionInner extends ChildResource
Defines the admin rule collection.
  • 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

      public String description()
      Get the description property: A description of the admin rule collection.
      Returns:
      the description value.
    • withDescription

      public AdminRuleCollectionInner withDescription(String description)
      Set the description property: A description of the admin rule collection.
      Parameters:
      description - the description value to set.
      Returns:
      the AdminRuleCollectionInner object itself.
    • appliesToGroups

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

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • resourceGuid

      public String resourceGuid()
      Get the resourceGuid property: Unique identifier for this resource.
      Returns:
      the resourceGuid value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ChildResource
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.