Class EffectiveNetworkSecurityGroups
java.lang.Object
com.azure.resourcemanager.security.models.EffectiveNetworkSecurityGroups
Describes the Network Security Groups effective on a network interface.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the networkInterface property: The Azure resource ID of the network interface.Get the networkSecurityGroups property: The Network Security Groups effective on the network interface.void
validate()
Validates the instance.withNetworkInterface
(String networkInterface) Set the networkInterface property: The Azure resource ID of the network interface.withNetworkSecurityGroups
(List<String> networkSecurityGroups) Set the networkSecurityGroups property: The Network Security Groups effective on the network interface.
-
Constructor Details
-
EffectiveNetworkSecurityGroups
public EffectiveNetworkSecurityGroups()
-
-
Method Details
-
networkInterface
Get the networkInterface property: The Azure resource ID of the network interface.- Returns:
- the networkInterface value.
-
withNetworkInterface
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
Get the networkSecurityGroups property: The Network Security Groups effective on the network interface.- Returns:
- the networkSecurityGroups value.
-
withNetworkSecurityGroups
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.
-