Interface AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>,SdkBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>,SdkPojo
- Enclosing class:
- AwsEc2VpnConnectionOptionsTunnelOptionsDetails
public static interface AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder,AwsEc2VpnConnectionOptionsTunnelOptionsDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderdpdTimeoutSeconds(Integer dpdTimeoutSeconds)The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderikeVersions(String... ikeVersions)The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderikeVersions(Collection<String> ikeVersions)The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderoutsideIpAddress(String outsideIpAddress)The external IP address of the VPN tunnel.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1DhGroupNumbers(Integer... phase1DhGroupNumbers)The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1DhGroupNumbers(Collection<Integer> phase1DhGroupNumbers)The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1EncryptionAlgorithms(String... phase1EncryptionAlgorithms)The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1EncryptionAlgorithms(Collection<String> phase1EncryptionAlgorithms)The permitted encryption algorithms for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1IntegrityAlgorithms(String... phase1IntegrityAlgorithms)The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1IntegrityAlgorithms(Collection<String> phase1IntegrityAlgorithms)The permitted integrity algorithms for the VPN tunnel for phase 1 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase1LifetimeSeconds(Integer phase1LifetimeSeconds)The lifetime for phase 1 of the IKE negotiation, in seconds.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2DhGroupNumbers(Integer... phase2DhGroupNumbers)The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2DhGroupNumbers(Collection<Integer> phase2DhGroupNumbers)The permitted Diffie-Hellman group numbers for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2EncryptionAlgorithms(String... phase2EncryptionAlgorithms)The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2EncryptionAlgorithms(Collection<String> phase2EncryptionAlgorithms)The permitted encryption algorithms for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2IntegrityAlgorithms(String... phase2IntegrityAlgorithms)The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2IntegrityAlgorithms(Collection<String> phase2IntegrityAlgorithms)The permitted integrity algorithms for the VPN tunnel for phase 2 IKE negotiations.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builderphase2LifetimeSeconds(Integer phase2LifetimeSeconds)The lifetime for phase 2 of the IKE negotiation, in seconds.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderpreSharedKey(String preSharedKey)The preshared key to establish initial authentication between the virtual private gateway and the customer gateway.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderrekeyFuzzPercentage(Integer rekeyFuzzPercentage)The percentage of the rekey window, which is determined byRekeyMarginTimeSecondsduring which the rekey time is randomly selected.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderrekeyMarginTimeSeconds(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.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuilderreplayWindowSize(Integer replayWindowSize)The number of packets in an IKE replay window.AwsEc2VpnConnectionOptionsTunnelOptionsDetails.BuildertunnelInsideCidr(String tunnelInsideCidr)The range of inside IPv4 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
dpdTimeoutSeconds
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder dpdTimeoutSeconds(Integer dpdTimeoutSeconds)
The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.
- Parameters:
dpdTimeoutSeconds- The number of seconds after which a Dead Peer Detection (DPD) timeout occurs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ikeVersions
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder ikeVersions(Collection<String> ikeVersions)
The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.
- Parameters:
ikeVersions- The Internet Key Exchange (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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder ikeVersions(String... ikeVersions)
The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.
- Parameters:
ikeVersions- The Internet Key Exchange (IKE) versions that are permitted for the VPN tunnel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outsideIpAddress
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
phase1DhGroupNumbers
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1DhGroupNumbers(Collection<Integer> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1DhGroupNumbers(Integer... 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.
-
phase1EncryptionAlgorithms
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1EncryptionAlgorithms(Collection<String> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1EncryptionAlgorithms(String... 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.
-
phase1IntegrityAlgorithms
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1IntegrityAlgorithms(Collection<String> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase1IntegrityAlgorithms(String... 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.
-
phase1LifetimeSeconds
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
phase2DhGroupNumbers
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2DhGroupNumbers(Collection<Integer> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2DhGroupNumbers(Integer... 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.
-
phase2EncryptionAlgorithms
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2EncryptionAlgorithms(Collection<String> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2EncryptionAlgorithms(String... 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.
-
phase2IntegrityAlgorithms
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2IntegrityAlgorithms(Collection<String> 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
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder phase2IntegrityAlgorithms(String... 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.
-
phase2LifetimeSeconds
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
preSharedKey
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder preSharedKey(String preSharedKey)
The preshared key to establish initial authentication between the virtual private gateway and the customer gateway.
- Parameters:
preSharedKey- The preshared key 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.
-
rekeyFuzzPercentage
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder rekeyFuzzPercentage(Integer rekeyFuzzPercentage)
The percentage of the rekey window, which is determined by
RekeyMarginTimeSecondsduring which the rekey time is randomly selected.- Parameters:
rekeyFuzzPercentage- The percentage of the rekey window, which is determined byRekeyMarginTimeSecondsduring which the rekey time is randomly selected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rekeyMarginTimeSeconds
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
replayWindowSize
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
tunnelInsideCidr
AwsEc2VpnConnectionOptionsTunnelOptionsDetails.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.
-
-