@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VgwTelemetry extends Object implements Serializable, Cloneable
Describes telemetry for a VPN tunnel.
Constructor and Description |
---|
VgwTelemetry() |
Modifier and Type | Method and Description |
---|---|
VgwTelemetry |
clone() |
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 void setAcceptedRouteCount(Integer acceptedRouteCount)
The number of accepted routes.
acceptedRouteCount
- The number of accepted routes.public Integer getAcceptedRouteCount()
The number of accepted routes.
public VgwTelemetry withAcceptedRouteCount(Integer acceptedRouteCount)
The number of accepted routes.
acceptedRouteCount
- The number of accepted routes.public void setLastStatusChange(Date lastStatusChange)
The date and time of the last change in status.
lastStatusChange
- The date and time of the last change in status.public Date getLastStatusChange()
The date and time of the last change in status.
public VgwTelemetry withLastStatusChange(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 setOutsideIpAddress(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 String getOutsideIpAddress()
The Internet-routable IP address of the virtual private gateway's outside interface.
public VgwTelemetry withOutsideIpAddress(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(String status)
The status of the VPN tunnel.
status
- The status of the VPN tunnel.TelemetryStatus
public String getStatus()
The status of the VPN tunnel.
TelemetryStatus
public VgwTelemetry withStatus(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 setStatusMessage(String statusMessage)
If an error occurs, a description of the error.
statusMessage
- If an error occurs, a description of the error.public String getStatusMessage()
If an error occurs, a description of the error.
public VgwTelemetry withStatusMessage(String statusMessage)
If an error occurs, a description of the error.
statusMessage
- If an error occurs, a description of the error.public String toString()
toString
in class Object
Object.toString()
public VgwTelemetry clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.