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 |
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.
|
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, sdkFields
copy
applyMutation, build
TunnelOption.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 that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #phase1EncryptionAlgorithms(List)
.phase1EncryptionAlgorithms
- a consumer that will call methods on List.Builder
#phase1EncryptionAlgorithms(List)
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 that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #phase2EncryptionAlgorithms(List)
.phase2EncryptionAlgorithms
- a consumer that will call methods on List.Builder
#phase2EncryptionAlgorithms(List)
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 that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #phase1IntegrityAlgorithms(List)
.phase1IntegrityAlgorithms
- a consumer that will call methods on List.Builder
#phase1IntegrityAlgorithms(List)
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 that creates an instance of the.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is
called immediately and its result is passed to #phase2IntegrityAlgorithms(List)
.phase2IntegrityAlgorithms
- a consumer that will call methods on List.Builder
#phase2IntegrityAlgorithms(List)
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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #phase1DHGroupNumbers(List)
.phase1DHGroupNumbers
- a consumer that will call methods on List.Builder
#phase1DHGroupNumbers(List)
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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #phase2DHGroupNumbers(List)
.phase2DHGroupNumbers
- a consumer that will call methods on List.Builder
#phase2DHGroupNumbers(List)
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 that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #ikeVersions(List)
.ikeVersions
- a consumer that will call methods on List.Builder
#ikeVersions(List)
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.Copyright © 2021. All rights reserved.