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 interface
VgwTelemetry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.Map<String,SdkField<?>>
sdkFieldNameToField()
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.-
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,
status
will 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,
status
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-