Interface HostName

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<HostName>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChoiceIn<Endpoint>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, EndpointType

    public interface HostName
    extends org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Augmentable<HostName>, EndpointType

    This class represents the following YANG schema fragment defined in module aliveness-monitor

     case host-name {
       leaf host-name {
         type string;
       }
     }
     
    The schema path to identify an instance is aliveness-monitor/endpoint/endpoint-type/host-name
    • Field Detail

      • QNAME

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

      • implementedInterface

        default java.lang.Class<HostName> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getHostName

        @Nullable java.lang.String getHostName()
        Returns:
        java.lang.String hostName, or null if not present