public final class SecurityGroupNetworkInterface extends Object
| Constructor and Description |
|---|
SecurityGroupNetworkInterface() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Get the id property: ID of the network interface.
|
SecurityRuleAssociations |
securityRuleAssociations()
Get the securityRuleAssociations property: All security rules associated with the network interface.
|
void |
validate()
Validates the instance.
|
SecurityGroupNetworkInterface |
withId(String id)
Set the id property: ID of the network interface.
|
SecurityGroupNetworkInterface |
withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)
Set the securityRuleAssociations property: All security rules associated with the network interface.
|
public String id()
public SecurityGroupNetworkInterface withId(String id)
id - the id value to set.public SecurityRuleAssociations securityRuleAssociations()
public SecurityGroupNetworkInterface withSecurityRuleAssociations(SecurityRuleAssociations securityRuleAssociations)
securityRuleAssociations - the securityRuleAssociations value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.