Interface TunnelOption.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TunnelOption.Builder,
,TunnelOption> SdkBuilder<TunnelOption.Builder,
,TunnelOption> SdkPojo
- Enclosing class:
TunnelOption
-
Method Summary
Modifier and TypeMethodDescriptiondpdTimeoutAction
(String dpdTimeoutAction) The action to take after a DPD timeout occurs.dpdTimeoutSeconds
(Integer dpdTimeoutSeconds) The number of seconds after which a DPD timeout occurs.enableTunnelLifecycleControl
(Boolean enableTunnelLifecycleControl) Status of tunnel endpoint lifecycle control feature.ikeVersions
(Collection<IKEVersionsListValue> ikeVersions) The IKE versions that are permitted for the VPN tunnel.ikeVersions
(Consumer<IKEVersionsListValue.Builder>... ikeVersions) The IKE versions that are permitted for the VPN tunnel.ikeVersions
(IKEVersionsListValue... ikeVersions) The IKE versions that are permitted for the VPN tunnel.default TunnelOption.Builder
logOptions
(Consumer<VpnTunnelLogOptions.Builder> logOptions) Options for logging VPN tunnel activity.logOptions
(VpnTunnelLogOptions logOptions) Options for logging VPN tunnel activity.outsideIpAddress
(String outsideIpAddress) The external IP address of the VPN tunnel.phase1DHGroupNumbers
(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.phase1DHGroupNumbers
(Consumer<Phase1DHGroupNumbersListValue.Builder>... phase1DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.phase1DHGroupNumbers
(Phase1DHGroupNumbersListValue... phase1DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.phase1EncryptionAlgorithms
(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1EncryptionAlgorithms
(Consumer<Phase1EncryptionAlgorithmsListValue.Builder>... phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1EncryptionAlgorithms
(Phase1EncryptionAlgorithmsListValue... phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1IntegrityAlgorithms
(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1IntegrityAlgorithms
(Consumer<Phase1IntegrityAlgorithmsListValue.Builder>... phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1IntegrityAlgorithms
(Phase1IntegrityAlgorithmsListValue... phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.phase1LifetimeSeconds
(Integer phase1LifetimeSeconds) The lifetime for phase 1 of the IKE negotiation, in seconds.phase2DHGroupNumbers
(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.phase2DHGroupNumbers
(Consumer<Phase2DHGroupNumbersListValue.Builder>... phase2DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.phase2DHGroupNumbers
(Phase2DHGroupNumbersListValue... phase2DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.phase2EncryptionAlgorithms
(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2EncryptionAlgorithms
(Consumer<Phase2EncryptionAlgorithmsListValue.Builder>... phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2EncryptionAlgorithms
(Phase2EncryptionAlgorithmsListValue... phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2IntegrityAlgorithms
(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2IntegrityAlgorithms
(Consumer<Phase2IntegrityAlgorithmsListValue.Builder>... phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2IntegrityAlgorithms
(Phase2IntegrityAlgorithmsListValue... phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.phase2LifetimeSeconds
(Integer phase2LifetimeSeconds) The lifetime for phase 2 of the IKE negotiation, in seconds.preSharedKey
(String preSharedKey) The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.rekeyFuzzPercentage
(Integer rekeyFuzzPercentage) The percentage of the rekey window determined byRekeyMarginTimeSeconds
during which the rekey time is randomly selected.rekeyMarginTimeSeconds
(Integer rekeyMarginTimeSeconds) The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.replayWindowSize
(Integer replayWindowSize) The number of packets in an IKE replay window.startupAction
(String startupAction) The action to take when the establishing the VPN tunnels for a VPN connection.tunnelInsideCidr
(String tunnelInsideCidr) The range of inside IPv4 addresses for the tunnel.tunnelInsideIpv6Cidr
(String tunnelInsideIpv6Cidr) The range of inside IPv6 addresses for the tunnel.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
-
outsideIpAddress
The external IP address of the VPN tunnel.
- Parameters:
outsideIpAddress
- The external IP address of the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelInsideCidr
The range of inside IPv4 addresses for the tunnel.
- Parameters:
tunnelInsideCidr
- The range of inside IPv4 addresses for the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tunnelInsideIpv6Cidr
The range of inside IPv6 addresses for the tunnel.
- Parameters:
tunnelInsideIpv6Cidr
- The range of inside IPv6 addresses for the tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1LifetimeSeconds
The lifetime for phase 1 of the IKE negotiation, in seconds.
- Parameters:
phase1LifetimeSeconds
- The lifetime for phase 1 of the IKE negotiation, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2LifetimeSeconds
The lifetime for phase 2 of the IKE negotiation, in seconds.
- Parameters:
phase2LifetimeSeconds
- The lifetime for phase 2 of the IKE negotiation, in seconds.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rekeyMarginTimeSeconds
The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.
- Parameters:
rekeyMarginTimeSeconds
- The margin time, in seconds, before the phase 2 lifetime expires, during which the Amazon Web Services side of the VPN connection performs an IKE rekey.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rekeyFuzzPercentage
The percentage of the rekey window determined by
RekeyMarginTimeSeconds
during which the rekey time is randomly selected.- Parameters:
rekeyFuzzPercentage
- The percentage of the rekey window determined byRekeyMarginTimeSeconds
during which the rekey time is randomly selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replayWindowSize
The number of packets in an IKE replay window.
- Parameters:
replayWindowSize
- The number of packets in an IKE replay window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dpdTimeoutSeconds
The number of seconds after which a DPD timeout occurs.
- Parameters:
dpdTimeoutSeconds
- The number of seconds after which a DPD timeout occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dpdTimeoutAction
The action to take after a DPD timeout occurs.
- Parameters:
dpdTimeoutAction
- The action to take after a DPD timeout occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1EncryptionAlgorithms
TunnelOption.Builder phase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1EncryptionAlgorithms
TunnelOption.Builder phase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue... phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1EncryptionAlgorithms
TunnelOption.Builder phase1EncryptionAlgorithms(Consumer<Phase1EncryptionAlgorithmsListValue.Builder>... phase1EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
This is a convenience method that creates an instance of thePhase1EncryptionAlgorithmsListValue.Builder
avoiding the need to create one manually viaPhase1EncryptionAlgorithmsListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase1EncryptionAlgorithms(List<Phase1EncryptionAlgorithmsListValue>)
.- Parameters:
phase1EncryptionAlgorithms
- a consumer that will call methods onPhase1EncryptionAlgorithmsListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase2EncryptionAlgorithms
TunnelOption.Builder phase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2EncryptionAlgorithms
TunnelOption.Builder phase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue... phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2EncryptionAlgorithms
- The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2EncryptionAlgorithms
TunnelOption.Builder phase2EncryptionAlgorithms(Consumer<Phase2EncryptionAlgorithmsListValue.Builder>... phase2EncryptionAlgorithms) The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
This is a convenience method that creates an instance of thePhase2EncryptionAlgorithmsListValue.Builder
avoiding the need to create one manually viaPhase2EncryptionAlgorithmsListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase2EncryptionAlgorithms(List<Phase2EncryptionAlgorithmsListValue>)
.- Parameters:
phase2EncryptionAlgorithms
- a consumer that will call methods onPhase2EncryptionAlgorithmsListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase1IntegrityAlgorithms
TunnelOption.Builder phase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1IntegrityAlgorithms
TunnelOption.Builder phase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue... phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1IntegrityAlgorithms
TunnelOption.Builder phase1IntegrityAlgorithms(Consumer<Phase1IntegrityAlgorithmsListValue.Builder>... phase1IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
This is a convenience method that creates an instance of thePhase1IntegrityAlgorithmsListValue.Builder
avoiding the need to create one manually viaPhase1IntegrityAlgorithmsListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase1IntegrityAlgorithms(List<Phase1IntegrityAlgorithmsListValue>)
.- Parameters:
phase1IntegrityAlgorithms
- a consumer that will call methods onPhase1IntegrityAlgorithmsListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase2IntegrityAlgorithms
TunnelOption.Builder phase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2IntegrityAlgorithms
TunnelOption.Builder phase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue... phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2IntegrityAlgorithms
- The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2IntegrityAlgorithms
TunnelOption.Builder phase2IntegrityAlgorithms(Consumer<Phase2IntegrityAlgorithmsListValue.Builder>... phase2IntegrityAlgorithms) The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
This is a convenience method that creates an instance of thePhase2IntegrityAlgorithmsListValue.Builder
avoiding the need to create one manually viaPhase2IntegrityAlgorithmsListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase2IntegrityAlgorithms(List<Phase2IntegrityAlgorithmsListValue>)
.- Parameters:
phase2IntegrityAlgorithms
- a consumer that will call methods onPhase2IntegrityAlgorithmsListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase1DHGroupNumbers
TunnelOption.Builder phase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1DHGroupNumbers
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
- Parameters:
phase1DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1DHGroupNumbers
TunnelOption.Builder phase1DHGroupNumbers(Consumer<Phase1DHGroupNumbersListValue.Builder>... phase1DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
This is a convenience method that creates an instance of thePhase1DHGroupNumbersListValue.Builder
avoiding the need to create one manually viaPhase1DHGroupNumbersListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase1DHGroupNumbers(List<Phase1DHGroupNumbersListValue>)
.- Parameters:
phase1DHGroupNumbers
- a consumer that will call methods onPhase1DHGroupNumbersListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phase2DHGroupNumbers
TunnelOption.Builder phase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2DHGroupNumbers
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
- Parameters:
phase2DHGroupNumbers
- The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase2DHGroupNumbers
TunnelOption.Builder phase2DHGroupNumbers(Consumer<Phase2DHGroupNumbersListValue.Builder>... phase2DHGroupNumbers) The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
This is a convenience method that creates an instance of thePhase2DHGroupNumbersListValue.Builder
avoiding the need to create one manually viaPhase2DHGroupNumbersListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophase2DHGroupNumbers(List<Phase2DHGroupNumbersListValue>)
.- Parameters:
phase2DHGroupNumbers
- a consumer that will call methods onPhase2DHGroupNumbersListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ikeVersions
The IKE versions that are permitted for the VPN tunnel.
- Parameters:
ikeVersions
- The IKE versions that are permitted for the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ikeVersions
The IKE versions that are permitted for the VPN tunnel.
- Parameters:
ikeVersions
- The IKE versions that are permitted for the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ikeVersions
The IKE versions that are permitted for the VPN tunnel.
This is a convenience method that creates an instance of theIKEVersionsListValue.Builder
avoiding the need to create one manually viaIKEVersionsListValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toikeVersions(List<IKEVersionsListValue>)
.- Parameters:
ikeVersions
- a consumer that will call methods onIKEVersionsListValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startupAction
The action to take when the establishing the VPN tunnels for a VPN connection.
- Parameters:
startupAction
- The action to take when the establishing the VPN tunnels for a VPN connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logOptions
Options for logging VPN tunnel activity.
- Parameters:
logOptions
- Options for logging VPN tunnel activity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logOptions
Options for logging VPN tunnel activity.
This is a convenience method that creates an instance of theVpnTunnelLogOptions.Builder
avoiding the need to create one manually viaVpnTunnelLogOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologOptions(VpnTunnelLogOptions)
.- Parameters:
logOptions
- a consumer that will call methods onVpnTunnelLogOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableTunnelLifecycleControl
Status of tunnel endpoint lifecycle control feature.
- Parameters:
enableTunnelLifecycleControl
- Status of tunnel endpoint lifecycle control feature.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-