Interface SecurityRules

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<SecurityRules>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<SecurityRulesAttributes>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject

    public interface SecurityRules
    extends org.opendaylight.yangtools.yang.binding.ChildOf<SecurityRulesAttributes>, org.opendaylight.yangtools.yang.binding.Augmentable<SecurityRules>
    Container for security group rules.

    This class represents the following YANG schema fragment defined in module neutron-secgroups

     container security-rules {
       list security-rule {
         key uuid;
         uses attrs:id-attributes;
         uses security-rule-attributes;
       }
     }
     
    The schema path to identify an instance is neutron-secgroups/security-rules-attributes/security-rules

    To create instances of this class use SecurityRulesBuilder.

    See Also:
    SecurityRulesBuilder
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<SecurityRules> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSecurityRule

        @Nullable Map<SecurityRuleKey,​SecurityRule> getSecurityRule()
        List of Security Group Rules.
        Returns:
        java.util.Map securityRule, or null if not present
      • nonnullSecurityRule

        default @NonNull Map<SecurityRuleKey,​SecurityRule> nonnullSecurityRule()
        Returns:
        java.util.Map securityRule, or an empty list if it is not present