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:
  • Constructor Details

    • VgwTelemetry

      public VgwTelemetry()
  • Method Details

    • 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:
    • getStatus

      public String getStatus()

      The status of the VPN tunnel.

      Returns:
      The status of the VPN tunnel.
      See Also:
    • 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:
    • setStatus

      public void setStatus(TelemetryStatus status)

      The status of the VPN tunnel.

      Parameters:
      status - The status of the VPN tunnel.
      See Also:
    • 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:
    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VgwTelemetry clone()
      Overrides:
      clone in class Object