public static final class CrossSiteFlowInfo.Builder
extends java.lang.Object
CrossSiteFlowInfo.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
CrossSiteFlowInfo. |
| Modifier and Type | Method and Description |
|---|---|
CrossSiteFlowInfo |
build() |
CrossSiteFlowInfo.Builder |
setFromSiteId(java.lang.String fromSiteId)
Site id of the source
|
CrossSiteFlowInfo.Builder |
setFromSitePath(java.lang.String fromSitePath)
Source site policy path
|
CrossSiteFlowInfo.Builder |
setFullSyncInfo(FullSyncInfo fullSyncInfo) |
CrossSiteFlowInfo.Builder |
setLatencyMeasuredTs(java.lang.Long latencyMeasuredTs)
Timestamp of latency measurement format: int64
|
CrossSiteFlowInfo.Builder |
setLatencyMillis(java.lang.Long latencyMillis)
Latency from source to destination site in milli seconds format: int64
|
CrossSiteFlowInfo.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 flow |
CrossSiteFlowInfo.Builder |
setToSiteId(java.lang.String toSiteId)
Site id of the destination
|
CrossSiteFlowInfo.Builder |
setToSitePath(java.lang.String toSitePath)
Destination site policy path
|
public Builder()
CrossSiteFlowInfo.public CrossSiteFlowInfo.Builder setFromSiteId(java.lang.String fromSiteId)
fromSiteId - New value for the property.public CrossSiteFlowInfo.Builder setFromSitePath(java.lang.String fromSitePath)
fromSitePath - New value for the property.public CrossSiteFlowInfo.Builder setFullSyncInfo(FullSyncInfo fullSyncInfo)
fullSyncInfo - New value for the property.public CrossSiteFlowInfo.Builder setLatencyMeasuredTs(java.lang.Long latencyMeasuredTs)
latencyMeasuredTs - New value for the property.public CrossSiteFlowInfo.Builder setLatencyMillis(java.lang.Long latencyMillis)
latencyMillis - New value for the property.public CrossSiteFlowInfo.Builder setLeaderNodeId(java.lang.String leaderNodeId)
leaderNodeId - New value for the property.public CrossSiteFlowInfo.Builder setStatus(java.lang.String status)
status - New value for the property.public CrossSiteFlowInfo.Builder setToSiteId(java.lang.String toSiteId)
toSiteId - New value for the property.public CrossSiteFlowInfo.Builder setToSitePath(java.lang.String toSitePath)
toSitePath - New value for the property.public CrossSiteFlowInfo build()