Class EffectiveNetworkSecurityGroupAssociation
java.lang.Object
com.microsoft.azure.management.network.EffectiveNetworkSecurityGroupAssociation
The effective network security group association.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.microsoft.azure.SubResourceGet the ID of the network interface if assigned.com.microsoft.azure.SubResourcesubnet()Get the ID of the subnet if assigned.withNetworkInterface(com.microsoft.azure.SubResource networkInterface) Set the ID of the network interface if assigned.withSubnet(com.microsoft.azure.SubResource subnet) Set the ID of the subnet if assigned.
-
Constructor Details
-
EffectiveNetworkSecurityGroupAssociation
public EffectiveNetworkSecurityGroupAssociation()
-
-
Method Details
-
subnet
public com.microsoft.azure.SubResource subnet()Get the ID of the subnet if assigned.- Returns:
- the subnet value
-
withSubnet
Set the ID of the subnet if assigned.- Parameters:
subnet- the subnet value to set- Returns:
- the EffectiveNetworkSecurityGroupAssociation object itself.
-
networkInterface
public com.microsoft.azure.SubResource networkInterface()Get the ID of the network interface if assigned.- Returns:
- the networkInterface value
-
withNetworkInterface
public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(com.microsoft.azure.SubResource networkInterface) Set the ID of the network interface if assigned.- Parameters:
networkInterface- the networkInterface value to set- Returns:
- the EffectiveNetworkSecurityGroupAssociation object itself.
-