Interface MemberAttributes

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Member

    @Generated("mdsal-binding-generator")
    public interface MemberAttributes
    extends org.opendaylight.yangtools.yang.binding.DataObject

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

     grouping member-attributes {
       leaf subnet-id {
         type yang:uuid;
       }
       leaf address {
         type inet:ip-address;
       }
       leaf protocol-port {
         type uint16 {
           range 0..65535;
         }
       }
       leaf weight {
         type uint16 {
           range 0..256;
         }
         default 1;
       }
       leaf admin-state-up {
         type boolean;
         default true;
       }
     }
     
    The schema path to identify an instance is neutron-lbaasv2/member-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.inet.types.rev130715.IpAddress getAddress()
      Return address, or null if it is not present.
      Boolean getAdminStateUp()
      Return adminStateUp, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
      Return protocolPort, or null if it is not present.
      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
      Return subnetId, or null if it is not present.
      org.opendaylight.yangtools.yang.common.Uint16 getWeight()
      Return weight, or null if it is not present.
      Class<? extends MemberAttributes> implementedInterface()  
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireAddress()
      Return address, guaranteed to be non-null.
      default @NonNull Boolean requireAdminStateUp()
      Return adminStateUp, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireProtocolPort()
      Return protocolPort, guaranteed to be non-null.
      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireSubnetId()
      Return subnetId, guaranteed to be non-null.
      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireWeight()
      Return weight, guaranteed to be non-null.
    • Field Detail

      • QNAME

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

      • implementedInterface

        Class<? extends MemberAttributes> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getSubnetId

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid getSubnetId()
        Return subnetId, or null if it is not present.
             
                 Subnet in which to access this member.
             
         
        Returns:
        Uuid subnetId, or null if it is not present.
      • requireSubnetId

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid requireSubnetId()
        Return subnetId, guaranteed to be non-null.
             
                 Subnet in which to access this member.
             
         
        Returns:
        Uuid subnetId, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if subnetId is not present
      • getAddress

        org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress getAddress()
        Return address, or null if it is not present.
             
                 The IP address of the member.
             
         
        Returns:
        IpAddress address, or null if it is not present.
      • requireAddress

        default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress requireAddress()
        Return address, guaranteed to be non-null.
             
                 The IP address of the member.
             
         
        Returns:
        IpAddress address, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if address is not present
      • getProtocolPort

        org.opendaylight.yangtools.yang.common.Uint16 getProtocolPort()
        Return protocolPort, or null if it is not present.
             
                 The port on which the application is hosted.
             
         
        Returns:
        Uint16 protocolPort, or null if it is not present.
      • requireProtocolPort

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireProtocolPort()
        Return protocolPort, guaranteed to be non-null.
             
                 The port on which the application is hosted.
             
         
        Returns:
        Uint16 protocolPort, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if protocolPort is not present
      • getWeight

        org.opendaylight.yangtools.yang.common.Uint16 getWeight()
        Return weight, or null if it is not present.
             
                 Weight of member.
             
         
        Returns:
        Uint16 weight, or null if it is not present.
      • requireWeight

        default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireWeight()
        Return weight, guaranteed to be non-null.
             
                 Weight of member.
             
         
        Returns:
        Uint16 weight, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if weight is not present
      • getAdminStateUp

        Boolean getAdminStateUp()
        Return adminStateUp, or null if it is not present.
             
                 The administrative state of the member, which is up (true) or down (false).
             
         
        Returns:
        Boolean adminStateUp, or null if it is not present.
      • requireAdminStateUp

        default @NonNull Boolean requireAdminStateUp()
        Return adminStateUp, guaranteed to be non-null.
             
                 The administrative state of the member, which is up (true) or down (false).
             
         
        Returns:
        Boolean adminStateUp, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if adminStateUp is not present