EffectiveNetworkSecurityGroupAssociation Class

  • java.lang.Object
    • com.microsoft.azure.management.network.EffectiveNetworkSecurityGroupAssociation

public class EffectiveNetworkSecurityGroupAssociation

The effective network security group association.

Constructor Summary

Constructor Description
EffectiveNetworkSecurityGroupAssociation()

Method Summary

Modifier and Type Method and Description
com.microsoft.azure.SubResource networkInterface()

Get the ID of the network interface if assigned.

com.microsoft.azure.SubResource subnet()

Get the ID of the subnet if assigned.

EffectiveNetworkSecurityGroupAssociation withNetworkInterface(SubResource networkInterface)

Set the ID of the network interface if assigned.

EffectiveNetworkSecurityGroupAssociation withSubnet(SubResource subnet)

Set the ID of the subnet if assigned.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

EffectiveNetworkSecurityGroupAssociation

public EffectiveNetworkSecurityGroupAssociation()

Method Details

networkInterface

public SubResource networkInterface()

Get the ID of the network interface if assigned.

Returns:

the networkInterface value

subnet

public SubResource subnet()

Get the ID of the subnet if assigned.

Returns:

the subnet value

withNetworkInterface

public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(SubResource networkInterface)

Set the ID of the network interface if assigned.

Parameters:

networkInterface - the networkInterface value to set

Returns:

the EffectiveNetworkSecurityGroupAssociation object itself.

withSubnet

public EffectiveNetworkSecurityGroupAssociation withSubnet(SubResource subnet)

Set the ID of the subnet if assigned.

Parameters:

subnet - the subnet value to set

Returns:

the EffectiveNetworkSecurityGroupAssociation object itself.

Applies to