public class VgwTelemetry
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes telemetry for a VPN tunnel.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
acceptedRouteCount
The number of accepted routes.
|
private java.util.Date |
lastStatusChange
The date and time of the last change in status.
|
private java.lang.String |
outsideIpAddress
The Internet-routable IP address of the virtual private gateway's outside
interface.
|
private java.lang.String |
status
The status of the VPN tunnel.
|
private java.lang.String |
statusMessage
If an error occurs, a description of the error.
|
Constructor and Description |
---|
VgwTelemetry() |
Modifier and Type | Method and Description |
---|---|
VgwTelemetry |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getAcceptedRouteCount()
The number of accepted routes.
|
java.util.Date |
getLastStatusChange()
The date and time of the last change in status.
|
java.lang.String |
getOutsideIpAddress()
The Internet-routable IP address of the virtual private gateway's outside
interface.
|
java.lang.String |
getStatus()
The status of the VPN tunnel.
|
java.lang.String |
getStatusMessage()
If an error occurs, a description of the error.
|
int |
hashCode() |
void |
setAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.
|
void |
setLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.
|
void |
setOutsideIpAddress(java.lang.String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's outside
interface.
|
void |
setStatus(java.lang.String status)
The status of the VPN tunnel.
|
void |
setStatus(TelemetryStatus status)
The status of the VPN tunnel.
|
void |
setStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VgwTelemetry |
withAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.
|
VgwTelemetry |
withLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.
|
VgwTelemetry |
withOutsideIpAddress(java.lang.String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's outside
interface.
|
VgwTelemetry |
withStatus(java.lang.String status)
The status of the VPN tunnel.
|
VgwTelemetry |
withStatus(TelemetryStatus status)
The status of the VPN tunnel.
|
VgwTelemetry |
withStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.
|
private java.lang.String outsideIpAddress
The Internet-routable IP address of the virtual private gateway's outside interface.
private java.lang.String status
The status of the VPN tunnel.
private java.util.Date lastStatusChange
The date and time of the last change in status.
private java.lang.String statusMessage
If an error occurs, a description of the error.
private java.lang.Integer acceptedRouteCount
The number of accepted routes.
public void setOutsideIpAddress(java.lang.String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's outside interface.
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's
outside interface.public java.lang.String getOutsideIpAddress()
The Internet-routable IP address of the virtual private gateway's outside interface.
public VgwTelemetry withOutsideIpAddress(java.lang.String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's outside interface.
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's
outside interface.public void setStatus(java.lang.String status)
The status of the VPN tunnel.
status
- The status of the VPN tunnel.TelemetryStatus
public java.lang.String getStatus()
The status of the VPN tunnel.
TelemetryStatus
public VgwTelemetry withStatus(java.lang.String status)
The status of the VPN tunnel.
status
- The status of the VPN tunnel.TelemetryStatus
public void setStatus(TelemetryStatus status)
The status of the VPN tunnel.
status
- The status of the VPN tunnel.TelemetryStatus
public VgwTelemetry withStatus(TelemetryStatus status)
The status of the VPN tunnel.
status
- The status of the VPN tunnel.TelemetryStatus
public void setLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.
lastStatusChange
- The date and time of the last change in status.public java.util.Date getLastStatusChange()
The date and time of the last change in status.
public VgwTelemetry withLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.
lastStatusChange
- The date and time of the last change in status.public void setStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.
statusMessage
- If an error occurs, a description of the error.public java.lang.String getStatusMessage()
If an error occurs, a description of the error.
public VgwTelemetry withStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.
statusMessage
- If an error occurs, a description of the error.public void setAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.
acceptedRouteCount
- The number of accepted routes.public java.lang.Integer getAcceptedRouteCount()
The number of accepted routes.
public VgwTelemetry withAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.
acceptedRouteCount
- The number of accepted routes.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VgwTelemetry clone()
clone
in class java.lang.Object