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