Class VgwTelemetry
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.VgwTelemetry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
@Generated("software.amazon.awssdk:codegen") public final class VgwTelemetry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
Describes telemetry for a VPN tunnel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVgwTelemetry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegeracceptedRouteCount()The number of accepted routes.static VgwTelemetry.Builderbuilder()StringcertificateArn()The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastStatusChange()The date and time of the last change in status.StringoutsideIpAddress()The Internet-routable IP address of the virtual private gateway's outside interface.List<SdkField<?>>sdkFields()static Class<? extends VgwTelemetry.Builder>serializableBuilderClass()TelemetryStatusstatus()The status of the VPN tunnel.StringstatusAsString()The status of the VPN tunnel.StringstatusMessage()If an error occurs, a description of the error.VgwTelemetry.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
acceptedRouteCount
public final Integer acceptedRouteCount()
The number of accepted routes.
- Returns:
- The number of accepted routes.
-
lastStatusChange
public final Instant lastStatusChange()
The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
- Returns:
- The date and time of the last change in status. This field is updated when changes in IKE (Phase 1), IPSec (Phase 2), or BGP status are detected.
-
outsideIpAddress
public final String outsideIpAddress()
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.
-
status
public final TelemetryStatus status()
The status of the VPN tunnel.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTelemetryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the VPN tunnel.
- See Also:
TelemetryStatus
-
statusAsString
public final String statusAsString()
The status of the VPN tunnel.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnTelemetryStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the VPN tunnel.
- See Also:
TelemetryStatus
-
statusMessage
public final String statusMessage()
If an error occurs, a description of the error.
- Returns:
- If an error occurs, a description of the error.
-
certificateArn
public final String certificateArn()
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
- Returns:
- The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
-
toBuilder
public VgwTelemetry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
-
builder
public static VgwTelemetry.Builder builder()
-
serializableBuilderClass
public static Class<? extends VgwTelemetry.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-