Class VgwTelemetry
- java.lang.Object
-
- com.amazonaws.services.ec2.model.VgwTelemetry
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class VgwTelemetry extends Object implements Serializable, Cloneable
Describes telemetry for a VPN tunnel.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VgwTelemetry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(TelemetryStatus status)
The status of the VPN tunnel.void
setStatus(String 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(TelemetryStatus status)
The status of the VPN tunnel.VgwTelemetry
withStatus(String status)
The status of the VPN tunnel.VgwTelemetry
withStatusMessage(String statusMessage)
If an error occurs, a description of the error.
-
-
-
Method Detail
-
setOutsideIpAddress
public void setOutsideIpAddress(String outsideIpAddress)
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
public String 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
public VgwTelemetry withOutsideIpAddress(String outsideIpAddress)
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
public void setStatus(String status)
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- See Also:
TelemetryStatus
-
getStatus
public String getStatus()
The status of the VPN tunnel.
- Returns:
- The status of the VPN tunnel.
- See Also:
TelemetryStatus
-
withStatus
public VgwTelemetry withStatus(String status)
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:
TelemetryStatus
-
setStatus
public void setStatus(TelemetryStatus status)
The status of the VPN tunnel.
- Parameters:
status
- The status of the VPN tunnel.- See Also:
TelemetryStatus
-
withStatus
public VgwTelemetry withStatus(TelemetryStatus status)
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:
TelemetryStatus
-
setLastStatusChange
public void setLastStatusChange(Date lastStatusChange)
The date and time of the last change in status.
- Parameters:
lastStatusChange
- The date and time of the last change in status.
-
getLastStatusChange
public Date getLastStatusChange()
The date and time of the last change in status.
- Returns:
- The date and time of the last change in status.
-
withLastStatusChange
public VgwTelemetry withLastStatusChange(Date lastStatusChange)
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
public void setStatusMessage(String statusMessage)
If an error occurs, a description of the error.
- Parameters:
statusMessage
- If an error occurs, a description of the error.
-
getStatusMessage
public String getStatusMessage()
If an error occurs, a description of the error.
- Returns:
- If an error occurs, a description of the error.
-
withStatusMessage
public VgwTelemetry withStatusMessage(String statusMessage)
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
public void setAcceptedRouteCount(Integer acceptedRouteCount)
The number of accepted routes.
- Parameters:
acceptedRouteCount
- The number of accepted routes.
-
getAcceptedRouteCount
public Integer getAcceptedRouteCount()
The number of accepted routes.
- Returns:
- The number of accepted routes.
-
withAcceptedRouteCount
public VgwTelemetry withAcceptedRouteCount(Integer acceptedRouteCount)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VgwTelemetry clone()
-
-