@Generated(value="software.amazon.awssdk:codegen") public final class VgwTelemetry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
Describes telemetry for a VPN tunnel.
Modifier and Type | Class and Description |
---|---|
static interface |
VgwTelemetry.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
acceptedRouteCount()
The number of accepted routes.
|
static VgwTelemetry.Builder |
builder() |
String |
certificateArn()
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastStatusChange()
The date and time of the last change in status.
|
String |
outsideIpAddress()
The Internet-routable IP address of the virtual private gateway's outside interface.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VgwTelemetry.Builder> |
serializableBuilderClass() |
TelemetryStatus |
status()
The status of the VPN tunnel.
|
String |
statusAsString()
The status of the VPN tunnel.
|
String |
statusMessage()
If an error occurs, a description of the error.
|
VgwTelemetry.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public Integer acceptedRouteCount()
The number of accepted routes.
public Instant lastStatusChange()
The date and time of the last change in status.
public String outsideIpAddress()
The Internet-routable IP address of the virtual private gateway's outside interface.
public TelemetryStatus status()
The status of the VPN tunnel.
If the service returns an enum value that is not available in the current SDK version, status
will
return TelemetryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
TelemetryStatus
public String statusAsString()
The status of the VPN tunnel.
If the service returns an enum value that is not available in the current SDK version, status
will
return TelemetryStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
TelemetryStatus
public String statusMessage()
If an error occurs, a description of the error.
public String certificateArn()
The Amazon Resource Name (ARN) of the VPN tunnel endpoint certificate.
public VgwTelemetry.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
public static VgwTelemetry.Builder builder()
public static Class<? extends VgwTelemetry.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.