CopyableBuilder<VpnConnection.Builder,VpnConnection>
, SdkBuilder<VpnConnection.Builder,VpnConnection>
public static interface VpnConnection.Builder extends CopyableBuilder<VpnConnection.Builder,VpnConnection>
Modifier and Type | Method | Description |
---|---|---|
VpnConnection.Builder |
customerGatewayConfiguration(String customerGatewayConfiguration) |
The configuration information for the VPN connection's customer gateway (in the native XML format).
|
VpnConnection.Builder |
customerGatewayId(String customerGatewayId) |
The ID of the customer gateway at your end of the VPN connection.
|
VpnConnection.Builder |
options(VpnConnectionOptions options) |
The VPN connection options.
|
VpnConnection.Builder |
routes(Collection<VpnStaticRoute> routes) |
The static routes associated with the VPN connection.
|
VpnConnection.Builder |
routes(VpnStaticRoute... routes) |
The static routes associated with the VPN connection.
|
VpnConnection.Builder |
state(String state) |
The current state of the VPN connection.
|
VpnConnection.Builder |
state(VpnState state) |
The current state of the VPN connection.
|
VpnConnection.Builder |
tags(Collection<Tag> tags) |
Any tags assigned to the VPN connection.
|
VpnConnection.Builder |
tags(Tag... tags) |
Any tags assigned to the VPN connection.
|
VpnConnection.Builder |
type(String type) |
The type of VPN connection.
|
VpnConnection.Builder |
type(GatewayType type) |
The type of VPN connection.
|
VpnConnection.Builder |
vgwTelemetry(Collection<VgwTelemetry> vgwTelemetry) |
Information about the VPN tunnel.
|
VpnConnection.Builder |
vgwTelemetry(VgwTelemetry... vgwTelemetry) |
Information about the VPN tunnel.
|
VpnConnection.Builder |
vpnConnectionId(String vpnConnectionId) |
The ID of the VPN connection.
|
VpnConnection.Builder |
vpnGatewayId(String vpnGatewayId) |
The ID of the virtual private gateway at the AWS side of the VPN connection.
|
copy
apply, build
VpnConnection.Builder customerGatewayConfiguration(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.
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.VpnConnection.Builder customerGatewayId(String customerGatewayId)
The ID of the customer gateway at your end of the VPN connection.
customerGatewayId
- The ID of the customer gateway at your end of the VPN connection.VpnConnection.Builder state(String state)
The current state of the VPN connection.
state
- The current state of the VPN connection.VpnState
VpnConnection.Builder state(VpnState state)
The current state of the VPN connection.
state
- The current state of the VPN connection.VpnState
VpnConnection.Builder type(String type)
The type of VPN connection.
type
- The type of VPN connection.GatewayType
VpnConnection.Builder type(GatewayType type)
The type of VPN connection.
type
- The type of VPN connection.GatewayType
VpnConnection.Builder vpnConnectionId(String vpnConnectionId)
The ID of the VPN connection.
vpnConnectionId
- The ID of the VPN connection.VpnConnection.Builder vpnGatewayId(String vpnGatewayId)
The ID of the virtual private gateway at the AWS side of the VPN connection.
vpnGatewayId
- The ID of the virtual private gateway at the AWS side of the VPN connection.VpnConnection.Builder options(VpnConnectionOptions options)
The VPN connection options.
options
- The VPN connection options.VpnConnection.Builder routes(Collection<VpnStaticRoute> routes)
The static routes associated with the VPN connection.
routes
- The static routes associated with the VPN connection.VpnConnection.Builder routes(VpnStaticRoute... routes)
The static routes associated with the VPN connection.
NOTE: This method appends the values to the existing list (if any). Use
#setRoutes(java.util.Collection)
or #withRoutes(java.util.Collection)
if you want to override
the existing values.
routes
- The static routes associated with the VPN connection.VpnConnection.Builder tags(Collection<Tag> tags)
Any tags assigned to the VPN connection.
tags
- Any tags assigned to the VPN connection.VpnConnection.Builder tags(Tag... tags)
Any tags assigned to the VPN connection.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the VPN connection.VpnConnection.Builder vgwTelemetry(Collection<VgwTelemetry> vgwTelemetry)
Information about the VPN tunnel.
vgwTelemetry
- Information about the VPN tunnel.VpnConnection.Builder vgwTelemetry(VgwTelemetry... vgwTelemetry)
Information about the VPN tunnel.
NOTE: This method appends the values to the existing list (if any). Use
#setVgwTelemetry(java.util.Collection)
or #withVgwTelemetry(java.util.Collection)
if you want
to override the existing values.
vgwTelemetry
- Information about the VPN tunnel.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.