Class ImmutableGraphContainer.Builder
- java.lang.Object
-
- org.opennms.integration.api.v1.graph.immutables.ImmutableGraphContainer.Builder
-
- Enclosing class:
- ImmutableGraphContainer
public static final class ImmutableGraphContainer.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableGraphContainer.BuilderaddGraph(org.opennms.integration.api.v1.graph.Graph graph)ImmutableGraphContainerbuild()ImmutableGraphContainer.BuildercontainerInfo(org.opennms.integration.api.v1.graph.GraphContainerInfo containerInfo)ImmutableGraphContainer.Builderdescription(java.lang.String description)org.opennms.integration.api.v1.graph.GraphInfogetGraphInfo(java.lang.String namespace)ImmutableGraphContainer.BuildergraphContainer(org.opennms.integration.api.v1.graph.GraphContainer fromGraphContainer)ImmutableGraphContainer.Builderid(java.lang.String id)ImmutableGraphContainer.Builderlabel(java.lang.String label)ImmutableGraphContainer.Builderproperties(java.util.Map<java.lang.String,java.lang.Object> properties)ImmutableGraphContainer.Builderproperty(java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
id
public ImmutableGraphContainer.Builder id(java.lang.String id)
-
label
public ImmutableGraphContainer.Builder label(java.lang.String label)
-
description
public ImmutableGraphContainer.Builder description(java.lang.String description)
-
property
public ImmutableGraphContainer.Builder property(java.lang.String name, java.lang.Object value)
-
properties
public ImmutableGraphContainer.Builder properties(java.util.Map<java.lang.String,java.lang.Object> properties)
-
containerInfo
public ImmutableGraphContainer.Builder containerInfo(org.opennms.integration.api.v1.graph.GraphContainerInfo containerInfo)
-
graphContainer
public ImmutableGraphContainer.Builder graphContainer(org.opennms.integration.api.v1.graph.GraphContainer fromGraphContainer)
-
addGraph
public ImmutableGraphContainer.Builder addGraph(org.opennms.integration.api.v1.graph.Graph graph)
-
getGraphInfo
public org.opennms.integration.api.v1.graph.GraphInfo getGraphInfo(java.lang.String namespace)
-
build
public ImmutableGraphContainer build()
-
-