@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2VpnConnectionDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>
Details about an Amazon EC2 VPN connection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2VpnConnectionDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2VpnConnectionDetails.Builder |
builder() |
String |
category()
The category of the VPN connection.
|
String |
customerGatewayConfiguration()
The configuration information for the VPN connection's customer gateway, in the native XML format.
|
String |
customerGatewayId()
The identifier of the customer gateway that is at your end of the VPN connection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasRoutes()
For responses, this returns true if the service returned a value for the Routes property.
|
boolean |
hasVgwTelemetry()
For responses, this returns true if the service returned a value for the VgwTelemetry property.
|
AwsEc2VpnConnectionOptionsDetails |
options()
The VPN connection options.
|
List<AwsEc2VpnConnectionRoutesDetails> |
routes()
The static routes that are associated with the VPN connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2VpnConnectionDetails.Builder> |
serializableBuilderClass() |
String |
state()
The current state of the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
transitGatewayId()
The identifier of the transit gateway that is associated with the VPN connection.
|
String |
type()
The type of VPN connection.
|
List<AwsEc2VpnConnectionVgwTelemetryDetails> |
vgwTelemetry()
Information about the VPN tunnel.
|
String |
vpnConnectionId()
The identifier of the VPN connection.
|
String |
vpnGatewayId()
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vpnConnectionId()
The identifier of the VPN connection.
public final String state()
The current state of the VPN connection. Valid values are as follows:
available
deleted
deleting
pending
available
deleted
deleting
pending
public final String customerGatewayId()
The identifier of the customer gateway that is at your end of the VPN connection.
public final String customerGatewayConfiguration()
The configuration information for the VPN connection's customer gateway, in the native XML format.
public final String type()
The type of VPN connection.
public final String vpnGatewayId()
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
public final String category()
The category of the VPN connection. VPN indicates an Amazon Web Services VPN connection.
VPN-Classic indicates an Amazon Web Services Classic VPN connection.
VPN indicates an Amazon Web Services VPN connection.
VPN-Classic indicates an Amazon Web Services Classic VPN connection.public final boolean hasVgwTelemetry()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry()
Information about the VPN tunnel.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasVgwTelemetry() method.
public final AwsEc2VpnConnectionOptionsDetails options()
The VPN connection options.
public final boolean hasRoutes()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AwsEc2VpnConnectionRoutesDetails> routes()
The static routes that are associated with the VPN connection.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRoutes() method.
public final String transitGatewayId()
The identifier of the transit gateway that is associated with the VPN connection.
public AwsEc2VpnConnectionDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>public static AwsEc2VpnConnectionDetails.Builder builder()
public static Class<? extends AwsEc2VpnConnectionDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.