Package com.vmware.nsx_policy.model
Class SegmentL2ForwarderSiteSpanInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.SegmentL2ForwarderSiteSpanInfo.Builder
-
- Enclosing class:
- SegmentL2ForwarderSiteSpanInfo
public static final class SegmentL2ForwarderSiteSpanInfo.Builder extends java.lang.Object
Builder class forSegmentL2ForwarderSiteSpanInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofSegmentL2ForwarderSiteSpanInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentL2ForwarderSiteSpanInfo
build()
SegmentL2ForwarderSiteSpanInfo.Builder
setInterSiteForwarderStatus(java.util.List<L2ForwarderStatusPerNode> interSiteForwarderStatus)
Inter-site forwarder status per node.SegmentL2ForwarderSiteSpanInfo.Builder
setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the L2 forwarder remote mac addresses was last updated.SegmentL2ForwarderSiteSpanInfo.Builder
setRemoteMacsPerSite(java.util.List<L2ForwarderRemoteMacsPerSite> remoteMacsPerSite)
L2 forwarder remote mac addresses per site for logical switch.SegmentL2ForwarderSiteSpanInfo.Builder
setSegmentPath(java.lang.String segmentPath)
Policy path of a segment.
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofSegmentL2ForwarderSiteSpanInfo
.
-
-
Method Detail
-
setInterSiteForwarderStatus
public SegmentL2ForwarderSiteSpanInfo.Builder setInterSiteForwarderStatus(java.util.List<L2ForwarderStatusPerNode> interSiteForwarderStatus)
Inter-site forwarder status per node. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
interSiteForwarderStatus
- New value for the property.
-
setLastUpdateTimestamp
public SegmentL2ForwarderSiteSpanInfo.Builder setLastUpdateTimestamp(java.lang.Long lastUpdateTimestamp)
Timestamp when the L2 forwarder remote mac addresses was last updated. format: int64 This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
lastUpdateTimestamp
- New value for the property.
-
setRemoteMacsPerSite
public SegmentL2ForwarderSiteSpanInfo.Builder setRemoteMacsPerSite(java.util.List<L2ForwarderRemoteMacsPerSite> remoteMacsPerSite)
L2 forwarder remote mac addresses per site for logical switch. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
remoteMacsPerSite
- New value for the property.
-
setSegmentPath
public SegmentL2ForwarderSiteSpanInfo.Builder setSegmentPath(java.lang.String segmentPath)
Policy path of a segment. This property may be present in responses from the server, but if it is present in a request to server it will be ignored.- Parameters:
segmentPath
- New value for the property.
-
build
public SegmentL2ForwarderSiteSpanInfo build()
-
-