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 VgwTelemetryclone()booleanequals(Object obj)IntegergetAcceptedRouteCount()The number of accepted routes.DategetLastStatusChange()The date and time of the last change in status.StringgetOutsideIpAddress()The Internet-routable IP address of the virtual private gateway's outside interface.StringgetStatus()The status of the VPN tunnel.StringgetStatusMessage()If an error occurs, a description of the error.inthashCode()voidsetAcceptedRouteCount(Integer acceptedRouteCount)The number of accepted routes.voidsetLastStatusChange(Date lastStatusChange)The date and time of the last change in status.voidsetOutsideIpAddress(String outsideIpAddress)The Internet-routable IP address of the virtual private gateway's outside interface.voidsetStatus(TelemetryStatus status)The status of the VPN tunnel.voidsetStatus(String status)The status of the VPN tunnel.voidsetStatusMessage(String statusMessage)If an error occurs, a description of the error.StringtoString()Returns a string representation of this object; useful for testing and debugging.VgwTelemetrywithAcceptedRouteCount(Integer acceptedRouteCount)The number of accepted routes.VgwTelemetrywithLastStatusChange(Date lastStatusChange)The date and time of the last change in status.VgwTelemetrywithOutsideIpAddress(String outsideIpAddress)The Internet-routable IP address of the virtual private gateway's outside interface.VgwTelemetrywithStatus(TelemetryStatus status)The status of the VPN tunnel.VgwTelemetrywithStatus(String status)The status of the VPN tunnel.VgwTelemetrywithStatusMessage(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public VgwTelemetry clone()
-
-