SecurityGroupNetworkInterface Class

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

public class SecurityGroupNetworkInterface

Network interface and all its associated security rules.

Constructor Summary

Constructor Description
SecurityGroupNetworkInterface()

Method Summary

Modifier and Type Method and Description
java.lang.String id()

Get iD of the network interface.

SecurityRuleAssociations securityRuleAssociations()

Get all security rules associated with the network interface.

SecurityGroupNetworkInterface withId(String id)

Set iD of the network interface.

SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)

Set all security rules associated with the network interface.

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

SecurityGroupNetworkInterface

public SecurityGroupNetworkInterface()

Method Details

id

public String id()

Get iD of the network interface.

Returns:

the id value

securityRuleAssociations

public SecurityRuleAssociations securityRuleAssociations()

Get all security rules associated with the network interface.

Returns:

the securityRuleAssociations value

withId

public SecurityGroupNetworkInterface withId(String id)

Set iD of the network interface.

Parameters:

id - the id value to set

Returns:

the SecurityGroupNetworkInterface object itself.

withSecurityRuleAssociations

public SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)

Set all security rules associated with the network interface.

Parameters:

securityRuleAssociations - the securityRuleAssociations value to set

Returns:

the SecurityGroupNetworkInterface object itself.

Applies to