Interface FirewallAttributes
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Firewall
@Generated("mdsal-binding-generator") public interface FirewallAttributes extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module neutron-fwaas
grouping firewall-attributes { leaf shared { type boolean; } leaf firewall-policy-id { type yang:uuid; } }
The schema path to identify an instance is neutron-fwaas/firewall-attributes
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
getFirewallPolicyId()
Return firewallPolicyId, ornull
if it is not present.Boolean
getShared()
Return shared, ornull
if it is not present.Class<? extends FirewallAttributes>
implementedInterface()
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid
requireFirewallPolicyId()
Return firewallPolicyId, guaranteed to be non-null.default @NonNull Boolean
requireShared()
Return shared, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends FirewallAttributes> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getShared
Boolean getShared()
Return shared, ornull
if it is not present.whether the firewall is shared or not
- Returns:
Boolean
shared, ornull
if it is not present.
-
requireShared
default @NonNull Boolean requireShared()
Return shared, guaranteed to be non-null.whether the firewall is shared or not
- Returns:
Boolean
shared, guaranteed to be non-null.- Throws:
NoSuchElementException
- if shared is not present
-
getFirewallPolicyId
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getFirewallPolicyId()
Return firewallPolicyId, ornull
if it is not present.the firewall policy UUID for this firewall
- Returns:
Uuid
firewallPolicyId, ornull
if it is not present.
-
requireFirewallPolicyId
default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireFirewallPolicyId()
Return firewallPolicyId, guaranteed to be non-null.the firewall policy UUID for this firewall
- Returns:
Uuid
firewallPolicyId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if firewallPolicyId is not present
-
-