Class VgwTelemetry
- All Implemented Interfaces:
Serializable
,Cloneable
Describes telemetry for a VPN tunnel.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The number of accepted routes.The date and time of the last change in status.The Internet-routable IP address of the virtual private gateway's outside interface.The status of the VPN tunnel.If an error occurs, a description of the error.int
hashCode()
void
setAcceptedRouteCount
(Integer acceptedRouteCount) The number of accepted routes.void
setLastStatusChange
(Date lastStatusChange) The date and time of the last change in status.void
setOutsideIpAddress
(String outsideIpAddress) The Internet-routable IP address of the virtual private gateway's outside interface.void
setStatus
(TelemetryStatus status) The status of the VPN tunnel.void
The status of the VPN tunnel.void
setStatusMessage
(String statusMessage) If an error occurs, a description of the error.toString()
Returns a string representation of this object; useful for testing and debugging.withAcceptedRouteCount
(Integer acceptedRouteCount) The number of accepted routes.withLastStatusChange
(Date lastStatusChange) The date and time of the last change in status.withOutsideIpAddress
(String outsideIpAddress) The Internet-routable IP address of the virtual private gateway's outside interface.withStatus
(TelemetryStatus status) The status of the VPN tunnel.withStatus
(String status) The status of the VPN tunnel.withStatusMessage
(String statusMessage) If an error occurs, a description of the error.
-
Constructor Details
-
VgwTelemetry
public VgwTelemetry()
-
-
Method Details
-
setOutsideIpAddress
The Internet-routable IP address of the virtual private gateway's outside interface.
- Parameters:
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's outside interface.
-
getOutsideIpAddress
The Internet-routable IP address of the virtual private gateway's outside interface.
- Returns:
- The Internet-routable IP address of the virtual private gateway's outside interface.
-
withOutsideIpAddress
The Internet-routable IP address of the virtual private gateway's outside interface.
- Parameters:
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's outside interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- See Also:
-
getStatus
The status of the VPN tunnel.
- Returns:
- The status of the VPN tunnel.
- See Also:
-
withStatus
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setStatus
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- See Also:
-
withStatus
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setLastStatusChange
The date and time of the last change in status.
- Parameters:
lastStatusChange
- The date and time of the last change in status.
-
getLastStatusChange
The date and time of the last change in status.
- Returns:
- The date and time of the last change in status.
-
withLastStatusChange
The date and time of the last change in status.
- Parameters:
lastStatusChange
- The date and time of the last change in status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
If an error occurs, a description of the error.
- Parameters:
statusMessage
- If an error occurs, a description of the error.
-
getStatusMessage
If an error occurs, a description of the error.
- Returns:
- If an error occurs, a description of the error.
-
withStatusMessage
If an error occurs, a description of the error.
- Parameters:
statusMessage
- If an error occurs, a description of the error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAcceptedRouteCount
The number of accepted routes.
- Parameters:
acceptedRouteCount
- The number of accepted routes.
-
getAcceptedRouteCount
The number of accepted routes.
- Returns:
- The number of accepted routes.
-
withAcceptedRouteCount
The number of accepted routes.
- Parameters:
acceptedRouteCount
- The number of accepted routes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-