Interface VpnAdditionalKeyExchangeRequest.Builder

  • Method Details

    • additionalKeyExchangeRound

      VpnAdditionalKeyExchangeRequest.Builder additionalKeyExchangeRound(Integer additionalKeyExchangeRound)

      The additional key exchange round number.

      Valid range: Minimum value of 1. Maximum value of 7.

      Parameters:
      additionalKeyExchangeRound - The additional key exchange round number.

      Valid range: Minimum value of 1. Maximum value of 7.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyExchangeMethods

      The key exchange method numbers that are permitted for this round. The method numbers are the IANA IKEv2 key exchange method transform IDs.

      A required round must specify at least one method. An optional round can omit this parameter or specify an empty list. If omitted or empty for an optional round, the round is disabled.

      IKEv2 requires that the initial Diffie-Hellman exchange and each required round use a different key exchange method. The permitted methods must allow a distinct method to be selected for each of them.

      Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37

      Parameters:
      keyExchangeMethods - The key exchange method numbers that are permitted for this round. The method numbers are the IANA IKEv2 key exchange method transform IDs.

      A required round must specify at least one method. An optional round can omit this parameter or specify an empty list. If omitted or empty for an optional round, the round is disabled.

      IKEv2 requires that the initial Diffie-Hellman exchange and each required round use a different key exchange method. The permitted methods must allow a distinct method to be selected for each of them.

      Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyExchangeMethods

      The key exchange method numbers that are permitted for this round. The method numbers are the IANA IKEv2 key exchange method transform IDs.

      A required round must specify at least one method. An optional round can omit this parameter or specify an empty list. If omitted or empty for an optional round, the round is disabled.

      IKEv2 requires that the initial Diffie-Hellman exchange and each required round use a different key exchange method. The permitted methods must allow a distinct method to be selected for each of them.

      Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37

      Parameters:
      keyExchangeMethods - The key exchange method numbers that are permitted for this round. The method numbers are the IANA IKEv2 key exchange method transform IDs.

      A required round must specify at least one method. An optional round can omit this parameter or specify an empty list. If omitted or empty for an optional round, the round is disabled.

      IKEv2 requires that the initial Diffie-Hellman exchange and each required round use a different key exchange method. The permitted methods must allow a distinct method to be selected for each of them.

      Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyExchangeMethods

      The key exchange method numbers that are permitted for this round. The method numbers are the IANA IKEv2 key exchange method transform IDs.

      A required round must specify at least one method. An optional round can omit this parameter or specify an empty list. If omitted or empty for an optional round, the round is disabled.

      IKEv2 requires that the initial Diffie-Hellman exchange and each required round use a different key exchange method. The permitted methods must allow a distinct method to be selected for each of them.

      Valid values: 2 | 5 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 35 | 36 | 37

      This is a convenience method that creates an instance of the AdditionalKeyExchangeMethodsRequestListValue.Builder avoiding the need to create one manually via AdditionalKeyExchangeMethodsRequestListValue.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to keyExchangeMethods(List<AdditionalKeyExchangeMethodsRequestListValue>).

      Parameters:
      keyExchangeMethods - a consumer that will call methods on AdditionalKeyExchangeMethodsRequestListValue.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requirement

      Indicates whether this round is mandatory. If required, the tunnel isn't established unless the customer gateway device negotiates this round. If optional, the round is negotiated only if the customer gateway device supports it.

      Valid values: required | optional

      Default: required

      Parameters:
      requirement - Indicates whether this round is mandatory. If required, the tunnel isn't established unless the customer gateway device negotiates this round. If optional, the round is negotiated only if the customer gateway device supports it.

      Valid values: required | optional

      Default: required

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • requirement

      Indicates whether this round is mandatory. If required, the tunnel isn't established unless the customer gateway device negotiates this round. If optional, the round is negotiated only if the customer gateway device supports it.

      Valid values: required | optional

      Default: required

      Parameters:
      requirement - Indicates whether this round is mandatory. If required, the tunnel isn't established unless the customer gateway device negotiates this round. If optional, the round is negotiated only if the customer gateway device supports it.

      Valid values: required | optional

      Default: required

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: