Interface AwsEc2VpnConnectionDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>,SdkBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>,SdkPojo
- Enclosing class:
- AwsEc2VpnConnectionDetails
public static interface AwsEc2VpnConnectionDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VpnConnectionDetails.Builder,AwsEc2VpnConnectionDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsEc2VpnConnectionDetails.Buildercategory(String category)The category of the VPN connection.AwsEc2VpnConnectionDetails.BuildercustomerGatewayConfiguration(String customerGatewayConfiguration)The configuration information for the VPN connection's customer gateway, in the native XML format.AwsEc2VpnConnectionDetails.BuildercustomerGatewayId(String customerGatewayId)The identifier of the customer gateway that is at your end of the VPN connection.default AwsEc2VpnConnectionDetails.Builderoptions(Consumer<AwsEc2VpnConnectionOptionsDetails.Builder> options)The VPN connection options.AwsEc2VpnConnectionDetails.Builderoptions(AwsEc2VpnConnectionOptionsDetails options)The VPN connection options.AwsEc2VpnConnectionDetails.Builderroutes(Collection<AwsEc2VpnConnectionRoutesDetails> routes)The static routes that are associated with the VPN connection.AwsEc2VpnConnectionDetails.Builderroutes(Consumer<AwsEc2VpnConnectionRoutesDetails.Builder>... routes)The static routes that are associated with the VPN connection.AwsEc2VpnConnectionDetails.Builderroutes(AwsEc2VpnConnectionRoutesDetails... routes)The static routes that are associated with the VPN connection.AwsEc2VpnConnectionDetails.Builderstate(String state)The current state of the VPN connection.AwsEc2VpnConnectionDetails.BuildertransitGatewayId(String transitGatewayId)The identifier of the transit gateway that is associated with the VPN connection.AwsEc2VpnConnectionDetails.Buildertype(String type)The type of VPN connection.AwsEc2VpnConnectionDetails.BuildervgwTelemetry(Collection<AwsEc2VpnConnectionVgwTelemetryDetails> vgwTelemetry)Information about the VPN tunnel.AwsEc2VpnConnectionDetails.BuildervgwTelemetry(Consumer<AwsEc2VpnConnectionVgwTelemetryDetails.Builder>... vgwTelemetry)Information about the VPN tunnel.AwsEc2VpnConnectionDetails.BuildervgwTelemetry(AwsEc2VpnConnectionVgwTelemetryDetails... vgwTelemetry)Information about the VPN tunnel.AwsEc2VpnConnectionDetails.BuildervpnConnectionId(String vpnConnectionId)The identifier of the VPN connection.AwsEc2VpnConnectionDetails.BuildervpnGatewayId(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 Detail
-
vpnConnectionId
AwsEc2VpnConnectionDetails.Builder vpnConnectionId(String 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
AwsEc2VpnConnectionDetails.Builder state(String 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
AwsEc2VpnConnectionDetails.Builder customerGatewayId(String 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
AwsEc2VpnConnectionDetails.Builder type(String 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
AwsEc2VpnConnectionDetails.Builder vpnGatewayId(String 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
AwsEc2VpnConnectionDetails.Builder category(String category)
The category of the VPN connection.
VPNindicates an Amazon Web Services VPN connection.VPN-Classicindicates an Amazon Web Services Classic VPN connection.- Parameters:
category- The category of the VPN connection.VPNindicates an Amazon Web Services VPN connection.VPN-Classicindicates 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.Builderavoiding the need to create one manually viaAwsEc2VpnConnectionVgwTelemetryDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vgwTelemetry(List.) - 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:
#vgwTelemetry(java.util.Collection)
-
options
AwsEc2VpnConnectionDetails.Builder options(AwsEc2VpnConnectionOptionsDetails 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.Builderavoiding the need to create one manually viaAwsEc2VpnConnectionOptionsDetails.builder().When the
Consumercompletes,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:
options(AwsEc2VpnConnectionOptionsDetails)
-
routes
AwsEc2VpnConnectionDetails.Builder routes(Collection<AwsEc2VpnConnectionRoutesDetails> 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(AwsEc2VpnConnectionRoutesDetails... 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.Builderavoiding the need to create one manually viaAwsEc2VpnConnectionRoutesDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routes(List.) - 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:
#routes(java.util.Collection)
-
transitGatewayId
AwsEc2VpnConnectionDetails.Builder transitGatewayId(String 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.
-
-