public static class NetworkSegment.Builder extends Object
Modifier and Type | Field and Description |
---|---|
protected NetworkType |
networkType |
protected String |
physicalNetwork |
protected Integer |
segmentationId |
Constructor and Description |
---|
NetworkSegment.Builder() |
Modifier and Type | Method and Description |
---|---|
NetworkSegment |
build() |
NetworkSegment.Builder |
fromNetworkSegment(NetworkSegment in) |
NetworkSegment.Builder |
networkType(NetworkType networkType)
Provide the networkType to the NetworkSegment's Builder.
|
NetworkSegment.Builder |
physicalNetwork(String physicalNetwork)
Provide the physicalNetwork to the NetworkSegment's Builder.
|
NetworkSegment.Builder |
segmentationId(int segmentationId)
Provide the segmentationId to the NetworkSegment's Builder.
|
protected NetworkType networkType
protected String physicalNetwork
protected Integer segmentationId
public NetworkSegment.Builder networkType(NetworkType networkType)
NetworkSegment.getNetworkType()
public NetworkSegment.Builder physicalNetwork(String physicalNetwork)
NetworkSegment.getPhysicalNetwork()
public NetworkSegment.Builder segmentationId(int segmentationId)
NetworkSegment.getSegmentationId()
public NetworkSegment build()
public NetworkSegment.Builder fromNetworkSegment(NetworkSegment in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.