ToCopyableBuilder<VpnConnection.Builder,VpnConnection>
@Generated("software.amazon.awssdk:codegen") public class VpnConnection extends Object implements ToCopyableBuilder<VpnConnection.Builder,VpnConnection>
Describes a VPN connection.
Modifier and Type | Class | Description |
---|---|---|
static interface |
VpnConnection.Builder |
Modifier and Type | Method | Description |
---|---|---|
static VpnConnection.Builder |
builder() |
|
String |
customerGatewayConfiguration() |
The configuration information for the VPN connection's customer gateway (in the native XML format).
|
String |
customerGatewayId() |
The ID of the customer gateway at your end of the VPN connection.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
VpnConnectionOptions |
options() |
The VPN connection options.
|
List<VpnStaticRoute> |
routes() |
The static routes associated with the VPN connection.
|
static Class<? extends VpnConnection.Builder> |
serializableBuilderClass() |
|
String |
state() |
The current state of the VPN connection.
|
List<Tag> |
tags() |
Any tags assigned to the VPN connection.
|
VpnConnection.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of VPN connection.
|
List<VgwTelemetry> |
vgwTelemetry() |
Information about the VPN tunnel.
|
String |
vpnConnectionId() |
The ID of the VPN connection.
|
String |
vpnGatewayId() |
The ID of the virtual private gateway at the AWS side of the VPN connection.
|
public String customerGatewayConfiguration()
The configuration information for the VPN connection's customer gateway (in the native XML format). This element
is always present in the CreateVpnConnection response; however, it's present in the
DescribeVpnConnections response only if the VPN connection is in the pending
or
available
state.
pending
or
available
state.public String customerGatewayId()
The ID of the customer gateway at your end of the VPN connection.
public String state()
The current state of the VPN connection.
VpnState
public String type()
The type of VPN connection.
GatewayType
public String vpnConnectionId()
The ID of the VPN connection.
public String vpnGatewayId()
The ID of the virtual private gateway at the AWS side of the VPN connection.
public VpnConnectionOptions options()
The VPN connection options.
public List<VpnStaticRoute> routes()
The static routes associated with the VPN connection.
public List<Tag> tags()
Any tags assigned to the VPN connection.
public List<VgwTelemetry> vgwTelemetry()
Information about the VPN tunnel.
public VpnConnection.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VpnConnection.Builder,VpnConnection>
public static VpnConnection.Builder builder()
public static Class<? extends VpnConnection.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.