Package com.vmware.nsx_policy.model
Class CrossSiteFlowInfo.Builder
- java.lang.Object
-
- com.vmware.nsx_policy.model.CrossSiteFlowInfo.Builder
-
- Enclosing class:
- CrossSiteFlowInfo
public static final class CrossSiteFlowInfo.Builder extends java.lang.Object
Builder class forCrossSiteFlowInfo
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Constructor with parameters for the required properties ofCrossSiteFlowInfo
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrossSiteFlowInfo
build()
CrossSiteFlowInfo.Builder
setFromSiteId(java.lang.String fromSiteId)
Site id of the sourceCrossSiteFlowInfo.Builder
setFromSitePath(java.lang.String fromSitePath)
Source site policy pathCrossSiteFlowInfo.Builder
setFullSyncInfo(FullSyncInfo fullSyncInfo)
CrossSiteFlowInfo.Builder
setLatencyMeasuredTs(java.lang.Long latencyMeasuredTs)
Timestamp of latency measurement format: int64CrossSiteFlowInfo.Builder
setLatencyMillis(java.lang.Long latencyMillis)
Latency from source to destination site in milli seconds format: int64CrossSiteFlowInfo.Builder
setLeaderNodeId(java.lang.String leaderNodeId)
Local leader node id sharded for this remote site.CrossSiteFlowInfo.Builder
setStatus(java.lang.String status)
Possible values are:CrossSiteFlowInfo.STATUS_GOOD
CrossSiteFlowInfo.STATUS_DISCONNECTED
CrossSiteFlowInfo.STATUS_RECOVERY
CrossSiteFlowInfo.STATUS_ERROR
CrossSiteFlowInfo.STATUS_UNKNOWN
CrossSiteFlowInfo.STATUS_NOT_READY
Overall status of the flowCrossSiteFlowInfo.Builder
setToSiteId(java.lang.String toSiteId)
Site id of the destinationCrossSiteFlowInfo.Builder
setToSitePath(java.lang.String toSitePath)
Destination site policy path
-
-
-
Constructor Detail
-
Builder
public Builder()
Constructor with parameters for the required properties ofCrossSiteFlowInfo
.
-
-
Method Detail
-
setFromSiteId
public CrossSiteFlowInfo.Builder setFromSiteId(java.lang.String fromSiteId)
Site id of the source- Parameters:
fromSiteId
- New value for the property.
-
setFromSitePath
public CrossSiteFlowInfo.Builder setFromSitePath(java.lang.String fromSitePath)
Source site policy path- Parameters:
fromSitePath
- New value for the property.
-
setFullSyncInfo
public CrossSiteFlowInfo.Builder setFullSyncInfo(FullSyncInfo fullSyncInfo)
- Parameters:
fullSyncInfo
- New value for the property.
-
setLatencyMeasuredTs
public CrossSiteFlowInfo.Builder setLatencyMeasuredTs(java.lang.Long latencyMeasuredTs)
Timestamp of latency measurement format: int64- Parameters:
latencyMeasuredTs
- New value for the property.
-
setLatencyMillis
public CrossSiteFlowInfo.Builder setLatencyMillis(java.lang.Long latencyMillis)
Latency from source to destination site in milli seconds format: int64- Parameters:
latencyMillis
- New value for the property.
-
setLeaderNodeId
public CrossSiteFlowInfo.Builder setLeaderNodeId(java.lang.String leaderNodeId)
Local leader node id sharded for this remote site.- Parameters:
leaderNodeId
- New value for the property.
-
setStatus
public CrossSiteFlowInfo.Builder setStatus(java.lang.String status)
Possible values are: Overall status of the flow- Parameters:
status
- New value for the property.
-
setToSiteId
public CrossSiteFlowInfo.Builder setToSiteId(java.lang.String toSiteId)
Site id of the destination- Parameters:
toSiteId
- New value for the property.
-
setToSitePath
public CrossSiteFlowInfo.Builder setToSitePath(java.lang.String toSitePath)
Destination site policy path- Parameters:
toSitePath
- New value for the property.
-
build
public CrossSiteFlowInfo build()
-
-