public static class DefaultAnnotatedNodeInfo.Builder extends Object implements AnnotatedNodeInfo.Builder
| Constructor and Description |
|---|
Builder()
Creates an instance of annotated node info builder.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultAnnotatedNodeInfo.Builder |
addAnnotation(Annotation a)
Adds annotation to a node.
|
AnnotatedNodeInfo |
build()
Builds an instance of annotated node information.
|
DefaultAnnotatedNodeInfo.Builder |
resourceId(org.onosproject.yang.model.ResourceId id)
Sets resource identifier of the annotated node.
|
public DefaultAnnotatedNodeInfo.Builder resourceId(org.onosproject.yang.model.ResourceId id)
AnnotatedNodeInfo.BuilderresourceId in interface AnnotatedNodeInfo.Builderid - resource identifierpublic DefaultAnnotatedNodeInfo.Builder addAnnotation(Annotation a)
AnnotatedNodeInfo.BuilderaddAnnotation in interface AnnotatedNodeInfo.Buildera - annotation informationpublic AnnotatedNodeInfo build()
AnnotatedNodeInfo.Builderbuild in interface AnnotatedNodeInfo.BuilderCopyright © 2017. All rights reserved.