Class ConnectionStateSnapshot
java.lang.Object
com.microsoft.azure.management.network.ConnectionStateSnapshot
Connection state snapshot.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet average latency in ms.Get the connection state.org.joda.time.DateTimeendTime()Get the end time of the connection snapshot.Get connectivity analysis evaluation state.hops()Get list of hops between the source and the destination.Get maximum latency in ms.Get minimum latency in ms.Get the number of failed probes.Get the number of sent probes.org.joda.time.DateTimeGet the start time of the connection snapshot.withAvgLatencyInMs(Integer avgLatencyInMs) Set average latency in ms.withConnectionState(ConnectionState connectionState) Set the connection state.withEndTime(org.joda.time.DateTime endTime) Set the end time of the connection snapshot.withEvaluationState(EvaluationState evaluationState) Set connectivity analysis evaluation state.withMaxLatencyInMs(Integer maxLatencyInMs) Set maximum latency in ms.withMinLatencyInMs(Integer minLatencyInMs) Set minimum latency in ms.withProbesFailed(Integer probesFailed) Set the number of failed probes.withProbesSent(Integer probesSent) Set the number of sent probes.withStartTime(org.joda.time.DateTime startTime) Set the start time of the connection snapshot.
- 
Constructor Details- 
ConnectionStateSnapshotpublic ConnectionStateSnapshot()
 
- 
- 
Method Details- 
connectionStateGet the connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown'.- Returns:
- the connectionState value
 
- 
withConnectionStateSet the connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown'.- Parameters:
- connectionState- the connectionState value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
startTimepublic org.joda.time.DateTime startTime()Get the start time of the connection snapshot.- Returns:
- the startTime value
 
- 
withStartTimeSet the start time of the connection snapshot.- Parameters:
- startTime- the startTime value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
endTimepublic org.joda.time.DateTime endTime()Get the end time of the connection snapshot.- Returns:
- the endTime value
 
- 
withEndTimeSet the end time of the connection snapshot.- Parameters:
- endTime- the endTime value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
evaluationStateGet connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'.- Returns:
- the evaluationState value
 
- 
withEvaluationStateSet connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'.- Parameters:
- evaluationState- the evaluationState value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
avgLatencyInMsGet average latency in ms.- Returns:
- the avgLatencyInMs value
 
- 
withAvgLatencyInMsSet average latency in ms.- Parameters:
- avgLatencyInMs- the avgLatencyInMs value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
minLatencyInMsGet minimum latency in ms.- Returns:
- the minLatencyInMs value
 
- 
withMinLatencyInMsSet minimum latency in ms.- Parameters:
- minLatencyInMs- the minLatencyInMs value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
maxLatencyInMsGet maximum latency in ms.- Returns:
- the maxLatencyInMs value
 
- 
withMaxLatencyInMsSet maximum latency in ms.- Parameters:
- maxLatencyInMs- the maxLatencyInMs value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
probesSentGet the number of sent probes.- Returns:
- the probesSent value
 
- 
withProbesSentSet the number of sent probes.- Parameters:
- probesSent- the probesSent value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
probesFailedGet the number of failed probes.- Returns:
- the probesFailed value
 
- 
withProbesFailedSet the number of failed probes.- Parameters:
- probesFailed- the probesFailed value to set
- Returns:
- the ConnectionStateSnapshot object itself.
 
- 
hopsGet list of hops between the source and the destination.- Returns:
- the hops value
 
 
-