public class VgwTelemetry extends Object implements Serializable
Describes telemetry for a VPN tunnel.
Constructor and Description |
---|
VgwTelemetry() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getAcceptedRouteCount()
The number of accepted routes.
|
Date |
getLastStatusChange()
The date and time of the last change in status.
|
String |
getOutsideIpAddress()
The Internet-routable IP address of the virtual private gateway's
outside interface.
|
String |
getStatus()
The status of the VPN tunnel.
|
String |
getStatusMessage()
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(String status)
The status of the VPN tunnel.
|
void |
setStatus(TelemetryStatus status)
The status of the VPN tunnel.
|
void |
setStatusMessage(String statusMessage)
If an error occurs, a description of the error.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VgwTelemetry |
withAcceptedRouteCount(Integer acceptedRouteCount)
The number of accepted routes.
|
VgwTelemetry |
withLastStatusChange(Date lastStatusChange)
The date and time of the last change in status.
|
VgwTelemetry |
withOutsideIpAddress(String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's
outside interface.
|
VgwTelemetry |
withStatus(String status)
The status of the VPN tunnel.
|
VgwTelemetry |
withStatus(TelemetryStatus status)
The status of the VPN tunnel.
|
VgwTelemetry |
withStatusMessage(String statusMessage)
If an error occurs, a description of the error.
|
public String getOutsideIpAddress()
public void setOutsideIpAddress(String outsideIpAddress)
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's
outside interface.public VgwTelemetry withOutsideIpAddress(String outsideIpAddress)
Returns a reference to this object so that method calls can be chained together.
outsideIpAddress
- The Internet-routable IP address of the virtual private gateway's
outside interface.public String getStatus()
Constraints:
Allowed Values: UP, DOWN
TelemetryStatus
public void setStatus(String status)
Constraints:
Allowed Values: UP, DOWN
status
- The status of the VPN tunnel.TelemetryStatus
public VgwTelemetry withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UP, DOWN
status
- The status of the VPN tunnel.TelemetryStatus
public void setStatus(TelemetryStatus status)
Constraints:
Allowed Values: UP, DOWN
status
- The status of the VPN tunnel.TelemetryStatus
public VgwTelemetry withStatus(TelemetryStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UP, DOWN
status
- The status of the VPN tunnel.TelemetryStatus
public Date getLastStatusChange()
public void setLastStatusChange(Date lastStatusChange)
lastStatusChange
- The date and time of the last change in status.public VgwTelemetry withLastStatusChange(Date lastStatusChange)
Returns a reference to this object so that method calls can be chained together.
lastStatusChange
- The date and time of the last change in status.public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- If an error occurs, a description of the error.public VgwTelemetry withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- If an error occurs, a description of the error.public Integer getAcceptedRouteCount()
public void setAcceptedRouteCount(Integer acceptedRouteCount)
acceptedRouteCount
- The number of accepted routes.public VgwTelemetry withAcceptedRouteCount(Integer acceptedRouteCount)
Returns a reference to this object so that method calls can be chained together.
acceptedRouteCount
- The number of accepted routes.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.