Class ConnectionStateSnapshot

java.lang.Object
com.microsoft.azure.management.network.ConnectionStateSnapshot

public class ConnectionStateSnapshot extends Object
Connection state snapshot.
  • Constructor Details

    • ConnectionStateSnapshot

      public ConnectionStateSnapshot()
  • Method Details

    • connectionState

      public ConnectionState connectionState()
      Get the connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown'.
      Returns:
      the connectionState value
    • withConnectionState

      public ConnectionStateSnapshot withConnectionState(ConnectionState connectionState)
      Set the connection state. Possible values include: 'Reachable', 'Unreachable', 'Unknown'.
      Parameters:
      connectionState - the connectionState value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • startTime

      public org.joda.time.DateTime startTime()
      Get the start time of the connection snapshot.
      Returns:
      the startTime value
    • withStartTime

      public ConnectionStateSnapshot withStartTime(org.joda.time.DateTime startTime)
      Set the start time of the connection snapshot.
      Parameters:
      startTime - the startTime value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • endTime

      public org.joda.time.DateTime endTime()
      Get the end time of the connection snapshot.
      Returns:
      the endTime value
    • withEndTime

      public ConnectionStateSnapshot withEndTime(org.joda.time.DateTime endTime)
      Set the end time of the connection snapshot.
      Parameters:
      endTime - the endTime value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • evaluationState

      public EvaluationState evaluationState()
      Get connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'.
      Returns:
      the evaluationState value
    • withEvaluationState

      public ConnectionStateSnapshot withEvaluationState(EvaluationState evaluationState)
      Set connectivity analysis evaluation state. Possible values include: 'NotStarted', 'InProgress', 'Completed'.
      Parameters:
      evaluationState - the evaluationState value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • avgLatencyInMs

      public Integer avgLatencyInMs()
      Get average latency in ms.
      Returns:
      the avgLatencyInMs value
    • withAvgLatencyInMs

      public ConnectionStateSnapshot withAvgLatencyInMs(Integer avgLatencyInMs)
      Set average latency in ms.
      Parameters:
      avgLatencyInMs - the avgLatencyInMs value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • minLatencyInMs

      public Integer minLatencyInMs()
      Get minimum latency in ms.
      Returns:
      the minLatencyInMs value
    • withMinLatencyInMs

      public ConnectionStateSnapshot withMinLatencyInMs(Integer minLatencyInMs)
      Set minimum latency in ms.
      Parameters:
      minLatencyInMs - the minLatencyInMs value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • maxLatencyInMs

      public Integer maxLatencyInMs()
      Get maximum latency in ms.
      Returns:
      the maxLatencyInMs value
    • withMaxLatencyInMs

      public ConnectionStateSnapshot withMaxLatencyInMs(Integer maxLatencyInMs)
      Set maximum latency in ms.
      Parameters:
      maxLatencyInMs - the maxLatencyInMs value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • probesSent

      public Integer probesSent()
      Get the number of sent probes.
      Returns:
      the probesSent value
    • withProbesSent

      public ConnectionStateSnapshot withProbesSent(Integer probesSent)
      Set the number of sent probes.
      Parameters:
      probesSent - the probesSent value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • probesFailed

      public Integer probesFailed()
      Get the number of failed probes.
      Returns:
      the probesFailed value
    • withProbesFailed

      public ConnectionStateSnapshot withProbesFailed(Integer probesFailed)
      Set the number of failed probes.
      Parameters:
      probesFailed - the probesFailed value to set
      Returns:
      the ConnectionStateSnapshot object itself.
    • hops

      public List<ConnectivityHop> hops()
      Get list of hops between the source and the destination.
      Returns:
      the hops value