Class NetworkInterfaceAssociation


  • public final class NetworkInterfaceAssociation
    extends Object
    Network interface and its custom security rules.
    • Constructor Detail

      • NetworkInterfaceAssociation

        public NetworkInterfaceAssociation()
    • Method Detail

      • id

        public String id()
        Get the id property: Network interface ID.
        Returns:
        the id value.
      • securityRules

        public List<SecurityRuleInner> securityRules()
        Get the securityRules property: Collection of custom security rules.
        Returns:
        the securityRules value.
      • withSecurityRules

        public NetworkInterfaceAssociation withSecurityRules​(List<SecurityRuleInner> securityRules)
        Set the securityRules property: Collection of custom security rules.
        Parameters:
        securityRules - the securityRules value to set.
        Returns:
        the NetworkInterfaceAssociation object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.