@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() |
boolean |
equals(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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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 VgwTelemetry.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VgwTelemetry.Builder,VgwTelemetry>
public static VgwTelemetry.Builder builder()
public static Class<? extends VgwTelemetry.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.