Class EffectiveNetworkSecurityGroups

java.lang.Object
com.azure.resourcemanager.security.models.EffectiveNetworkSecurityGroups

public final class EffectiveNetworkSecurityGroups extends Object
Describes the Network Security Groups effective on a network interface.
  • Constructor Details

    • EffectiveNetworkSecurityGroups

      public EffectiveNetworkSecurityGroups()
  • Method Details

    • networkInterface

      public String networkInterface()
      Get the networkInterface property: The Azure resource ID of the network interface.
      Returns:
      the networkInterface value.
    • withNetworkInterface

      public EffectiveNetworkSecurityGroups withNetworkInterface(String networkInterface)
      Set the networkInterface property: The Azure resource ID of the network interface.
      Parameters:
      networkInterface - the networkInterface value to set.
      Returns:
      the EffectiveNetworkSecurityGroups object itself.
    • networkSecurityGroups

      public List<String> networkSecurityGroups()
      Get the networkSecurityGroups property: The Network Security Groups effective on the network interface.
      Returns:
      the networkSecurityGroups value.
    • withNetworkSecurityGroups

      public EffectiveNetworkSecurityGroups withNetworkSecurityGroups(List<String> networkSecurityGroups)
      Set the networkSecurityGroups property: The Network Security Groups effective on the network interface.
      Parameters:
      networkSecurityGroups - the networkSecurityGroups value to set.
      Returns:
      the EffectiveNetworkSecurityGroups object itself.
    • validate

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