public static interface AwsEc2VpnConnectionDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsEc2VpnConnectionDetails.Builder |
category(String category)
The category of the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
customerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
|
AwsEc2VpnConnectionDetails.Builder |
customerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
options(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
|
default AwsEc2VpnConnectionDetails.Builder |
options(Consumer<AwsEc2VpnConnectionOptionsDetails.Builder> options)
The VPN connection options.
|
AwsEc2VpnConnectionDetails.Builder |
routes(AwsEc2VpnConnectionRoutesDetails... routes)
The static routes that are associated with the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
routes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
routes(Consumer<AwsEc2VpnConnectionRoutesDetails.Builder>... routes)
The static routes that are associated with the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
state(String state)
The current state of the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
transitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
type(String type)
The type of VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
vgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry)
Information about the VPN tunnel.
|
AwsEc2VpnConnectionDetails.Builder |
vgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
|
AwsEc2VpnConnectionDetails.Builder |
vgwTelemetry(Consumer<AwsEc2VpnConnectionVgwTelemetryDetails.Builder>... vgwTelemetry)
Information about the VPN tunnel.
|
AwsEc2VpnConnectionDetails.Builder |
vpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
|
AwsEc2VpnConnectionDetails.Builder |
vpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsEc2VpnConnectionDetails.Builder vpnConnectionId(String vpnConnectionId)
The identifier of the VPN connection.
vpnConnectionId - The identifier of the VPN connection.AwsEc2VpnConnectionDetails.Builder state(String state)
The current state of the VPN connection. Valid values are as follows:
available
deleted
deleting
pending
state - The current state of the VPN connection. Valid values are as follows:
available
deleted
deleting
pending
AwsEc2VpnConnectionDetails.Builder customerGatewayId(String customerGatewayId)
The identifier of the customer gateway that is at your end of the VPN connection.
customerGatewayId - The identifier of the customer gateway that is at your end of the VPN connection.AwsEc2VpnConnectionDetails.Builder customerGatewayConfiguration(String customerGatewayConfiguration)
The configuration information for the VPN connection's customer gateway, in the native XML format.
customerGatewayConfiguration - The configuration information for the VPN connection's customer gateway, in the native XML format.AwsEc2VpnConnectionDetails.Builder type(String type)
The type of VPN connection.
type - The type of VPN connection.AwsEc2VpnConnectionDetails.Builder vpnGatewayId(String vpnGatewayId)
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
vpnGatewayId - The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN
connection.AwsEc2VpnConnectionDetails.Builder category(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.
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.AwsEc2VpnConnectionDetails.Builder vgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)
Information about the VPN tunnel.
vgwTelemetry - Information about the VPN tunnel.AwsEc2VpnConnectionDetails.Builder vgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry)
Information about the VPN tunnel.
vgwTelemetry - Information about the VPN tunnel.AwsEc2VpnConnectionDetails.Builder vgwTelemetry(Consumer<AwsEc2VpnConnectionVgwTelemetryDetails.Builder>... vgwTelemetry)
Information about the VPN tunnel.
This is a convenience method that creates an instance of theAwsEc2VpnConnectionVgwTelemetryDetails.Builder
avoiding the need to create one manually via
AwsEc2VpnConnectionVgwTelemetryDetails.builder().
When the Consumer completes,
SdkBuilder.build()
is called immediately and its result is passed to #vgwTelemetry(List.
vgwTelemetry - a consumer that will call methods on
AwsEc2VpnConnectionVgwTelemetryDetails.Builder#vgwTelemetry(java.util.Collection) AwsEc2VpnConnectionDetails.Builder options(AwsEc2VpnConnectionOptionsDetails options)
The VPN connection options.
options - The VPN connection options.default AwsEc2VpnConnectionDetails.Builder options(Consumer<AwsEc2VpnConnectionOptionsDetails.Builder> options)
The VPN connection options.
This is a convenience method that creates an instance of theAwsEc2VpnConnectionOptionsDetails.Builder avoiding the need to create one manually via
AwsEc2VpnConnectionOptionsDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to options(AwsEc2VpnConnectionOptionsDetails).
options - a consumer that will call methods on AwsEc2VpnConnectionOptionsDetails.Builderoptions(AwsEc2VpnConnectionOptionsDetails)AwsEc2VpnConnectionDetails.Builder routes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)
The static routes that are associated with the VPN connection.
routes - The static routes that are associated with the VPN connection.AwsEc2VpnConnectionDetails.Builder routes(AwsEc2VpnConnectionRoutesDetails... routes)
The static routes that are associated with the VPN connection.
routes - The static routes that are associated with the VPN connection.AwsEc2VpnConnectionDetails.Builder routes(Consumer<AwsEc2VpnConnectionRoutesDetails.Builder>... routes)
The static routes that are associated with the VPN connection.
This is a convenience method that creates an instance of theAwsEc2VpnConnectionRoutesDetails.Builder avoiding
the need to create one manually via
AwsEc2VpnConnectionRoutesDetails.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #routes(List.
routes - a consumer that will call methods on
AwsEc2VpnConnectionRoutesDetails.Builder#routes(java.util.Collection) AwsEc2VpnConnectionDetails.Builder transitGatewayId(String transitGatewayId)
The identifier of the transit gateway that is associated with the VPN connection.
transitGatewayId - The identifier of the transit gateway that is associated with the VPN connection.Copyright © 2023. All rights reserved.