EffectiveNetworkSecurityGroupAssociation Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. EffectiveNetworkSecurityGroupAssociation
- com.
Implements
public final class EffectiveNetworkSecurityGroupAssociation
implements JsonSerializable<EffectiveNetworkSecurityGroupAssociation>
The effective network security group association.
Constructor Summary
Constructor | Description |
---|---|
EffectiveNetworkSecurityGroupAssociation() |
Creates an instance of Effective |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Effective |
fromJson(JsonReader jsonReader)
Reads an instance of Effective |
Sub |
networkInterface()
Get the network |
Sub |
networkManager()
Get the network |
Sub |
subnet()
Get the subnet property: The ID of the subnet if assigned. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Effective |
withNetworkInterface(SubResource networkInterface)
Set the network |
Effective |
withNetworkManager(SubResource networkManager)
Set the network |
Effective |
withSubnet(SubResource subnet)
Set the subnet property: The ID of the subnet if assigned. |
Methods inherited from java.lang.Object
Constructor Details
EffectiveNetworkSecurityGroupAssociation
public EffectiveNetworkSecurityGroupAssociation()
Creates an instance of EffectiveNetworkSecurityGroupAssociation class.
Method Details
fromJson
public static EffectiveNetworkSecurityGroupAssociation fromJson(JsonReader jsonReader)
Reads an instance of EffectiveNetworkSecurityGroupAssociation from the JsonReader.
Parameters:
Returns:
Throws:
networkInterface
public SubResource networkInterface()
Get the networkInterface property: The ID of the network interface if assigned.
Returns:
networkManager
public SubResource networkManager()
Get the networkManager property: The ID of the Azure network manager if assigned.
Returns:
subnet
public SubResource subnet()
Get the subnet property: The ID of the subnet if assigned.
Returns:
toJson
validate
public void validate()
Validates the instance.
withNetworkInterface
public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(SubResource networkInterface)
Set the networkInterface property: The ID of the network interface if assigned.
Parameters:
Returns:
withNetworkManager
public EffectiveNetworkSecurityGroupAssociation withNetworkManager(SubResource networkManager)
Set the networkManager property: The ID of the Azure network manager if assigned.
Parameters:
Returns:
withSubnet
public EffectiveNetworkSecurityGroupAssociation withSubnet(SubResource subnet)
Set the subnet property: The ID of the subnet if assigned.
Parameters:
Returns:
Applies to
Azure SDK for Java