EffectiveNetworkSecurityGroups Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.EffectiveNetworkSecurityGroups

public final class EffectiveNetworkSecurityGroups

Describes the Network Security Groups effective on a network interface.

Constructor Summary

Constructor Description
EffectiveNetworkSecurityGroups()

Creates an instance of EffectiveNetworkSecurityGroups class.

Method Summary

Modifier and Type Method and Description
String networkInterface()

Get the networkInterface property: The Azure resource ID of the network interface.

List<String> networkSecurityGroups()

Get the networkSecurityGroups property: The Network Security Groups effective on the network interface.

void validate()

Validates the instance.

EffectiveNetworkSecurityGroups withNetworkInterface(String networkInterface)

Set the networkInterface property: The Azure resource ID of the network interface.

EffectiveNetworkSecurityGroups withNetworkSecurityGroups(List<String> networkSecurityGroups)

Set the networkSecurityGroups property: The Network Security Groups effective on the network interface.

Methods inherited from java.lang.Object

Constructor Details

EffectiveNetworkSecurityGroups

public EffectiveNetworkSecurityGroups()

Creates an instance of EffectiveNetworkSecurityGroups class.

Method Details

networkInterface

public String networkInterface()

Get the networkInterface property: The Azure resource ID of the network interface.

Returns:

the networkInterface value.

networkSecurityGroups

public List networkSecurityGroups()

Get the networkSecurityGroups property: The Network Security Groups effective on the network interface.

Returns:

the networkSecurityGroups value.

validate

public void validate()

Validates the instance.

withNetworkInterface

public EffectiveNetworkSecurityGroups withNetworkInterface(String networkInterface)

Set the networkInterface property: The Azure resource ID of the network interface.

Parameters:

networkInterface - the networkInterface value to set.

Returns:

the EffectiveNetworkSecurityGroups object itself.

withNetworkSecurityGroups

public EffectiveNetworkSecurityGroups withNetworkSecurityGroups(List networkSecurityGroups)

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.

Applies to