com.amazonaws.services.ec2.model
Class VgwTelemetry

java.lang.Object
  extended by com.amazonaws.services.ec2.model.VgwTelemetry
All Implemented Interfaces:
java.io.Serializable

public class VgwTelemetry
extends java.lang.Object
implements java.io.Serializable

Describes telemetry for a VPN tunnel.

See Also:
Serialized Form

Constructor Summary
VgwTelemetry()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VgwTelemetry

public VgwTelemetry()
Method Detail

getOutsideIpAddress

public java.lang.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.

setOutsideIpAddress

public void setOutsideIpAddress(java.lang.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.

withOutsideIpAddress

public VgwTelemetry withOutsideIpAddress(java.lang.String outsideIpAddress)
The Internet-routable IP address of the virtual private gateway's outside interface.

Returns a reference to this object so that method calls can be chained together.

Parameters:
outsideIpAddress - The Internet-routable IP address of the virtual private gateway's outside interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public java.lang.String getStatus()
The status of the VPN tunnel.

Constraints:
Allowed Values: UP, DOWN

Returns:
The status of the VPN tunnel.
See Also:
TelemetryStatus

setStatus

public void setStatus(java.lang.String status)
The status of the VPN tunnel.

Constraints:
Allowed Values: UP, DOWN

Parameters:
status - The status of the VPN tunnel.
See Also:
TelemetryStatus

withStatus

public VgwTelemetry withStatus(java.lang.String status)
The status of the VPN tunnel.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: UP, DOWN

Parameters:
status - The status of the VPN tunnel.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
TelemetryStatus

setStatus

public void setStatus(TelemetryStatus status)
The status of the VPN tunnel.

Constraints:
Allowed Values: UP, DOWN

Parameters:
status - The status of the VPN tunnel.
See Also:
TelemetryStatus

withStatus

public VgwTelemetry withStatus(TelemetryStatus status)
The status of the VPN tunnel.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: UP, DOWN

Parameters:
status - The status of the VPN tunnel.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
TelemetryStatus

getLastStatusChange

public java.util.Date getLastStatusChange()
The date and time of the last change in status.

Returns:
The date and time of the last change in status.

setLastStatusChange

public void setLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.

Parameters:
lastStatusChange - The date and time of the last change in status.

withLastStatusChange

public VgwTelemetry withLastStatusChange(java.util.Date lastStatusChange)
The date and time of the last change in status.

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastStatusChange - The date and time of the last change in status.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatusMessage

public java.lang.String getStatusMessage()
If an error occurs, a description of the error.

Returns:
If an error occurs, a description of the error.

setStatusMessage

public void setStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.

Parameters:
statusMessage - If an error occurs, a description of the error.

withStatusMessage

public VgwTelemetry withStatusMessage(java.lang.String statusMessage)
If an error occurs, a description of the error.

Returns a reference to this object so that method calls can be chained together.

Parameters:
statusMessage - If an error occurs, a description of the error.
Returns:
A reference to this updated object so that method calls can be chained together.

getAcceptedRouteCount

public java.lang.Integer getAcceptedRouteCount()
The number of accepted routes.

Returns:
The number of accepted routes.

setAcceptedRouteCount

public void setAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.

Parameters:
acceptedRouteCount - The number of accepted routes.

withAcceptedRouteCount

public VgwTelemetry withAcceptedRouteCount(java.lang.Integer acceptedRouteCount)
The number of accepted routes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
acceptedRouteCount - The number of accepted routes.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.