Interface AwsEc2VpnConnectionDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2VpnConnectionDetails.Builder,
,AwsEc2VpnConnectionDetails> SdkBuilder<AwsEc2VpnConnectionDetails.Builder,
,AwsEc2VpnConnectionDetails> SdkPojo
- Enclosing class:
AwsEc2VpnConnectionDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe category of the VPN connection.customerGatewayConfiguration
(String customerGatewayConfiguration) The configuration information for the VPN connection's customer gateway, in the native XML format.customerGatewayId
(String customerGatewayId) The identifier of the customer gateway that is at your end of the VPN connection.The VPN connection options.options
(AwsEc2VpnConnectionOptionsDetails options) The VPN connection options.The static routes that are associated with the VPN connection.routes
(Consumer<AwsEc2VpnConnectionRoutesDetails.Builder>... routes) The static routes that are associated with the VPN connection.routes
(AwsEc2VpnConnectionRoutesDetails... routes) The static routes that are associated with the VPN connection.The current state of the VPN connection.transitGatewayId
(String transitGatewayId) The identifier of the transit gateway that is associated with the VPN connection.The type of VPN connection.vgwTelemetry
(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry) Information about the VPN tunnel.vgwTelemetry
(Consumer<AwsEc2VpnConnectionVgwTelemetryDetails.Builder>... vgwTelemetry) Information about the VPN tunnel.vgwTelemetry
(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry) Information about the VPN tunnel.vpnConnectionId
(String vpnConnectionId) The identifier of the VPN connection.vpnGatewayId
(String vpnGatewayId) The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vpnConnectionId
The identifier of the VPN connection.
- Parameters:
vpnConnectionId
- The identifier of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the VPN connection. Valid values are as follows:
-
available
-
deleted
-
deleting
-
pending
- Parameters:
state
- The current state of the VPN connection. Valid values are as follows:-
available
-
deleted
-
deleting
-
pending
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
customerGatewayId
The identifier of the customer gateway that is at your end of the VPN connection.
- Parameters:
customerGatewayId
- The identifier of the customer gateway that is at your end of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerGatewayConfiguration
AwsEc2VpnConnectionDetails.Builder customerGatewayConfiguration(String customerGatewayConfiguration) The configuration information for the VPN connection's customer gateway, in the native XML format.
- Parameters:
customerGatewayConfiguration
- The configuration information for the VPN connection's customer gateway, in the native XML format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of VPN connection.
- Parameters:
type
- The type of VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpnGatewayId
The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.
- Parameters:
vpnGatewayId
- The identifier of the virtual private gateway that is at the Amazon Web Services side of the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vgwTelemetry
AwsEc2VpnConnectionDetails.Builder vgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry) Information about the VPN tunnel.
- Parameters:
vgwTelemetry
- Information about the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vgwTelemetry
AwsEc2VpnConnectionDetails.Builder vgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry) Information about the VPN tunnel.
- Parameters:
vgwTelemetry
- Information about the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vgwTelemetry
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 viaAwsEc2VpnConnectionVgwTelemetryDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovgwTelemetry(List<AwsEc2VpnConnectionVgwTelemetryDetails>)
.- Parameters:
vgwTelemetry
- a consumer that will call methods onAwsEc2VpnConnectionVgwTelemetryDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
options
The VPN connection options.
- Parameters:
options
- The VPN connection options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaAwsEc2VpnConnectionOptionsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(AwsEc2VpnConnectionOptionsDetails)
.- Parameters:
options
- a consumer that will call methods onAwsEc2VpnConnectionOptionsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
routes
The static routes that are associated with the VPN connection.
- Parameters:
routes
- The static routes that are associated with the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The static routes that are associated with the VPN connection.
- Parameters:
routes
- The static routes that are associated with the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
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 viaAwsEc2VpnConnectionRoutesDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<AwsEc2VpnConnectionRoutesDetails>)
.- Parameters:
routes
- a consumer that will call methods onAwsEc2VpnConnectionRoutesDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
transitGatewayId
The identifier of the transit gateway that is associated with the VPN connection.
- Parameters:
transitGatewayId
- The identifier of the transit gateway that is associated with the VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-