public static interface TunnelOption.Builder extends SdkPojo, CopyableBuilder<TunnelOption.Builder,TunnelOption>
| Modifier and Type | Method and 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 by
RekeyMarginTimeSeconds 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTunnelOption.Builder outsideIpAddress(String outsideIpAddress)
The external IP address of the VPN tunnel.
outsideIpAddress - The external IP address of the VPN tunnel.TunnelOption.Builder tunnelInsideCidr(String tunnelInsideCidr)
The range of inside IPv4 addresses for the tunnel.
tunnelInsideCidr - The range of inside IPv4 addresses for the tunnel.TunnelOption.Builder tunnelInsideIpv6Cidr(String tunnelInsideIpv6Cidr)
The range of inside IPv6 addresses for the tunnel.
tunnelInsideIpv6Cidr - The range of inside IPv6 addresses for the tunnel.TunnelOption.Builder preSharedKey(String preSharedKey)
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and the customer gateway.
preSharedKey - The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and
the customer gateway.TunnelOption.Builder phase1LifetimeSeconds(Integer phase1LifetimeSeconds)
The lifetime for phase 1 of the IKE negotiation, in seconds.
phase1LifetimeSeconds - The lifetime for phase 1 of the IKE negotiation, in seconds.TunnelOption.Builder phase2LifetimeSeconds(Integer phase2LifetimeSeconds)
The lifetime for phase 2 of the IKE negotiation, in seconds.
phase2LifetimeSeconds - The lifetime for phase 2 of the IKE negotiation, in seconds.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.
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 rekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window determined by RekeyMarginTimeSeconds during which the rekey
time is randomly selected.
rekeyFuzzPercentage - The percentage of the rekey window determined by RekeyMarginTimeSeconds during which the
rekey time is randomly selected.TunnelOption.Builder replayWindowSize(Integer replayWindowSize)
The number of packets in an IKE replay window.
replayWindowSize - The number of packets in an IKE replay window.TunnelOption.Builder dpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a DPD timeout occurs.
dpdTimeoutSeconds - The number of seconds after which a DPD timeout occurs.TunnelOption.Builder dpdTimeoutAction(String dpdTimeoutAction)
The action to take after a DPD timeout occurs.
dpdTimeoutAction - The action to take after a DPD timeout occurs.TunnelOption.Builder phase1EncryptionAlgorithms(Collection<Phase1EncryptionAlgorithmsListValue> phase1EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase1EncryptionAlgorithmsListValue.Builder avoiding the
need to create one manually via
Phase1EncryptionAlgorithmsListValue.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #phase1EncryptionAlgorithms(List.
phase1EncryptionAlgorithms - a consumer that will call methods on
Phase1EncryptionAlgorithmsListValue.Builder#phase1EncryptionAlgorithms(java.util.Collection) TunnelOption.Builder phase2EncryptionAlgorithms(Collection<Phase2EncryptionAlgorithmsListValue> phase2EncryptionAlgorithms)
The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase2EncryptionAlgorithmsListValue.Builder avoiding the
need to create one manually via
Phase2EncryptionAlgorithmsListValue.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #phase2EncryptionAlgorithms(List.
phase2EncryptionAlgorithms - a consumer that will call methods on
Phase2EncryptionAlgorithmsListValue.Builder#phase2EncryptionAlgorithms(java.util.Collection) TunnelOption.Builder phase1IntegrityAlgorithms(Collection<Phase1IntegrityAlgorithmsListValue> phase1IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase1IntegrityAlgorithmsListValue.Builder avoiding the
need to create one manually via
Phase1IntegrityAlgorithmsListValue.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #phase1IntegrityAlgorithms(List.
phase1IntegrityAlgorithms - a consumer that will call methods on
Phase1IntegrityAlgorithmsListValue.Builder#phase1IntegrityAlgorithms(java.util.Collection) TunnelOption.Builder phase2IntegrityAlgorithms(Collection<Phase2IntegrityAlgorithmsListValue> phase2IntegrityAlgorithms)
The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase2IntegrityAlgorithmsListValue.Builder avoiding the
need to create one manually via
Phase2IntegrityAlgorithmsListValue.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #phase2IntegrityAlgorithms(List.
phase2IntegrityAlgorithms - a consumer that will call methods on
Phase2IntegrityAlgorithmsListValue.Builder#phase2IntegrityAlgorithms(java.util.Collection) TunnelOption.Builder phase1DHGroupNumbers(Collection<Phase1DHGroupNumbersListValue> phase1DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase1DHGroupNumbersListValue.Builder avoiding the need to
create one manually via
Phase1DHGroupNumbersListValue.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #phase1DHGroupNumbers(List.
phase1DHGroupNumbers - a consumer that will call methods on
Phase1DHGroupNumbersListValue.Builder#phase1DHGroupNumbers(java.util.Collection) TunnelOption.Builder phase2DHGroupNumbers(Collection<Phase2DHGroupNumbersListValue> phase2DHGroupNumbers)
The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.
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.
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.
This is a convenience method that creates an instance of thePhase2DHGroupNumbersListValue.Builder avoiding the need to
create one manually via
Phase2DHGroupNumbersListValue.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #phase2DHGroupNumbers(List.
phase2DHGroupNumbers - a consumer that will call methods on
Phase2DHGroupNumbersListValue.Builder#phase2DHGroupNumbers(java.util.Collection) TunnelOption.Builder ikeVersions(Collection<IKEVersionsListValue> ikeVersions)
The IKE versions that are permitted for the VPN tunnel.
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.
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.
This is a convenience method that creates an instance of theIKEVersionsListValue.Builder avoiding the need to create
one manually via IKEVersionsListValue.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #ikeVersions(List.
ikeVersions - a consumer that will call methods on
IKEVersionsListValue.Builder#ikeVersions(java.util.Collection) TunnelOption.Builder startupAction(String startupAction)
The action to take when the establishing the VPN tunnels for a VPN connection.
startupAction - The action to take when the establishing the VPN tunnels for a VPN connection.TunnelOption.Builder logOptions(VpnTunnelLogOptions logOptions)
Options for logging VPN tunnel activity.
logOptions - Options for logging VPN tunnel activity.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 via VpnTunnelLogOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to logOptions(VpnTunnelLogOptions).
logOptions - a consumer that will call methods on VpnTunnelLogOptions.BuilderlogOptions(VpnTunnelLogOptions)TunnelOption.Builder enableTunnelLifecycleControl(Boolean enableTunnelLifecycleControl)
Status of tunnel endpoint lifecycle control feature.
enableTunnelLifecycleControl - Status of tunnel endpoint lifecycle control feature.Copyright © 2023. All rights reserved.