Interface VpnAdditionalKeyExchangeRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpnAdditionalKeyExchangeRequest.Builder,,VpnAdditionalKeyExchangeRequest> SdkBuilder<VpnAdditionalKeyExchangeRequest.Builder,,VpnAdditionalKeyExchangeRequest> SdkPojo
- Enclosing class:
VpnAdditionalKeyExchangeRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalKeyExchangeRound(Integer additionalKeyExchangeRound) The additional key exchange round number.keyExchangeMethods(Collection<AdditionalKeyExchangeMethodsRequestListValue> keyExchangeMethods) The key exchange method numbers that are permitted for this round.keyExchangeMethods(Consumer<AdditionalKeyExchangeMethodsRequestListValue.Builder>... keyExchangeMethods) The key exchange method numbers that are permitted for this round.keyExchangeMethods(AdditionalKeyExchangeMethodsRequestListValue... keyExchangeMethods) The key exchange method numbers that are permitted for this round.requirement(String requirement) Indicates whether this round is mandatory.requirement(AdditionalKeyExchangeRequirement requirement) Indicates whether this round is mandatory.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
VpnAdditionalKeyExchangeRequest.Builder keyExchangeMethods(Collection<AdditionalKeyExchangeMethodsRequestListValue> 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
requiredround must specify at least one method. Anoptionalround 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
requiredround must specify at least one method. Anoptionalround 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
VpnAdditionalKeyExchangeRequest.Builder keyExchangeMethods(AdditionalKeyExchangeMethodsRequestListValue... 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
requiredround must specify at least one method. Anoptionalround 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
requiredround must specify at least one method. Anoptionalround 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
VpnAdditionalKeyExchangeRequest.Builder keyExchangeMethods(Consumer<AdditionalKeyExchangeMethodsRequestListValue.Builder>... 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
requiredround must specify at least one method. Anoptionalround 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:
This is a convenience method that creates an instance of the2|5|14|15|16|17|18|19|20|21|22|23|24|35|36|37AdditionalKeyExchangeMethodsRequestListValue.Builderavoiding the need to create one manually viaAdditionalKeyExchangeMethodsRequestListValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyExchangeMethods(List<AdditionalKeyExchangeMethodsRequestListValue>).- Parameters:
keyExchangeMethods- a consumer that will call methods onAdditionalKeyExchangeMethodsRequestListValue.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. Ifoptional, the round is negotiated only if the customer gateway device supports it.Valid values:
required|optionalDefault:
required- Parameters:
requirement- Indicates whether this round is mandatory. Ifrequired, the tunnel isn't established unless the customer gateway device negotiates this round. Ifoptional, the round is negotiated only if the customer gateway device supports it.Valid values:
required|optionalDefault:
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. Ifoptional, the round is negotiated only if the customer gateway device supports it.Valid values:
required|optionalDefault:
required- Parameters:
requirement- Indicates whether this round is mandatory. Ifrequired, the tunnel isn't established unless the customer gateway device negotiates this round. Ifoptional, the round is negotiated only if the customer gateway device supports it.Valid values:
required|optionalDefault:
required- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-