public final class EffectiveNetworkSecurityGroupAssociation extends Object
| Constructor and Description |
|---|
EffectiveNetworkSecurityGroupAssociation() |
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.management.SubResource |
networkInterface()
Get the networkInterface property: The ID of the network interface if assigned.
|
com.azure.core.management.SubResource |
networkManager()
Get the networkManager property: The ID of the Azure network manager if assigned.
|
com.azure.core.management.SubResource |
subnet()
Get the subnet property: The ID of the subnet if assigned.
|
void |
validate()
Validates the instance.
|
EffectiveNetworkSecurityGroupAssociation |
withNetworkInterface(com.azure.core.management.SubResource networkInterface)
Set the networkInterface property: The ID of the network interface if assigned.
|
EffectiveNetworkSecurityGroupAssociation |
withNetworkManager(com.azure.core.management.SubResource networkManager)
Set the networkManager property: The ID of the Azure network manager if assigned.
|
EffectiveNetworkSecurityGroupAssociation |
withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: The ID of the subnet if assigned.
|
public EffectiveNetworkSecurityGroupAssociation()
public com.azure.core.management.SubResource networkManager()
public EffectiveNetworkSecurityGroupAssociation withNetworkManager(com.azure.core.management.SubResource networkManager)
networkManager - the networkManager value to set.public com.azure.core.management.SubResource subnet()
public EffectiveNetworkSecurityGroupAssociation withSubnet(com.azure.core.management.SubResource subnet)
subnet - the subnet value to set.public com.azure.core.management.SubResource networkInterface()
public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(com.azure.core.management.SubResource networkInterface)
networkInterface - the networkInterface value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.