Interface TunnelOption.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TunnelOption.Builder,TunnelOption>
,SdkBuilder<TunnelOption.Builder,TunnelOption>
,SdkPojo
- Enclosing class:
- TunnelOption
public static interface TunnelOption.Builder extends SdkPojo, CopyableBuilder<TunnelOption.Builder,TunnelOption>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TunnelOption.Builder
dpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.TunnelOption.Builder
dpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.TunnelOption.Builder
enableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.TunnelOption.Builder
ikeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.TunnelOption.Builder
ikeVersions(Consumer<IKEVersionsListValue.Builder>... ikeVersions)
The IKE versions that are permitted for the VPN tunnel.TunnelOption.Builder
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.TunnelOption.Builder
logOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.TunnelOption.Builder
outsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.TunnelOption.Builder
phase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1DHGroupNumbers(Consumer<Phase1DHGroupNumbersListValue.Builder>... phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1DHGroupNumbers(Phase1DHGroupNumbersListValue... phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1EncryptionAlgorithms(Consumer<Phase1EncryptionAlgorithmsListValue.Builder>... phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1EncryptionAlgorithms(Phase1EncryptionAlgorithmsListValue... phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1IntegrityAlgorithms(Consumer<Phase1IntegrityAlgorithmsListValue.Builder>... phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1IntegrityAlgorithms(Phase1IntegrityAlgorithmsListValue... phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.TunnelOption.Builder
phase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.TunnelOption.Builder
phase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2DHGroupNumbers(Consumer<Phase2DHGroupNumbersListValue.Builder>... phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2DHGroupNumbers(Phase2DHGroupNumbersListValue... phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2EncryptionAlgorithms(Consumer<Phase2EncryptionAlgorithmsListValue.Builder>... phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2EncryptionAlgorithms(Phase2EncryptionAlgorithmsListValue... phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2IntegrityAlgorithms(Consumer<Phase2IntegrityAlgorithmsListValue.Builder>... phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2IntegrityAlgorithms(Phase2IntegrityAlgorithmsListValue... phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.TunnelOption.Builder
phase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.TunnelOption.Builder
preSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.TunnelOption.Builder
rekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window determined byRekeyMarginTimeSeconds
during which the rekey time is randomly selected.TunnelOption.Builder
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.TunnelOption.Builder
replayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.TunnelOption.Builder
startupAction(String startupAction)
The action to take when the establishing the VPN tunnels for a VPN connection.TunnelOption.Builder
tunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.TunnelOption.Builder
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 Detail
-
outsideIpAddress
TunnelOption.Builder outsideIpAddress(String 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
TunnelOption.Builder tunnelInsideCidr(String 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
TunnelOption.Builder tunnelInsideIpv6Cidr(String 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.
-
preSharedKey
TunnelOption.Builder preSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
- Parameters:
preSharedKey
- The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phase1LifetimeSeconds
TunnelOption.Builder phase1LifetimeSeconds(Integer 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
TunnelOption.Builder phase2LifetimeSeconds(Integer 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
TunnelOption.Builder 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.
- 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
TunnelOption.Builder rekeyFuzzPercentage(Integer 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
TunnelOption.Builder replayWindowSize(Integer 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
TunnelOption.Builder dpdTimeoutSeconds(Integer 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
TunnelOption.Builder dpdTimeoutAction(String 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 to#phase1EncryptionAlgorithms(List
.) - 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:
#phase1EncryptionAlgorithms(java.util.Collection
)
-
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 to#phase2EncryptionAlgorithms(List
.) - 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:
#phase2EncryptionAlgorithms(java.util.Collection
)
-
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 to#phase1IntegrityAlgorithms(List
.) - 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:
#phase1IntegrityAlgorithms(java.util.Collection
)
-
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 to#phase2IntegrityAlgorithms(List
.) - 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:
#phase2IntegrityAlgorithms(java.util.Collection
)
-
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
TunnelOption.Builder phase1DHGroupNumbers(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
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 to#phase1DHGroupNumbers(List
.) - 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:
#phase1DHGroupNumbers(java.util.Collection
)
-
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
TunnelOption.Builder phase2DHGroupNumbers(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
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 to#phase2DHGroupNumbers(List
.) - 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:
#phase2DHGroupNumbers(java.util.Collection
)
-
ikeVersions
TunnelOption.Builder ikeVersions(Collection<IKEVersionsListValue> 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
TunnelOption.Builder ikeVersions(IKEVersionsListValue... 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
TunnelOption.Builder ikeVersions(Consumer<IKEVersionsListValue.Builder>... 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 to#ikeVersions(List
.) - 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:
#ikeVersions(java.util.Collection
)
-
startupAction
TunnelOption.Builder startupAction(String 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
TunnelOption.Builder logOptions(VpnTunnelLogOptions 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
default TunnelOption.Builder logOptions(Consumer<VpnTunnelLogOptions.Builder> 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:
logOptions(VpnTunnelLogOptions)
-
enableTunnelLifecycleControl
TunnelOption.Builder enableTunnelLifecycleControl(Boolean 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.
-
-