Interface AwsEc2VpnConnectionOptionsTunnelOptionsDetails.Builder

    • 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 RekeyMarginTimeSeconds during which the rekey time is randomly selected.

        Parameters:
        rekeyFuzzPercentage - The percentage of the rekey window, which is determined by RekeyMarginTimeSeconds during 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.