Class ExtensionSetTimeoutInMsActionBuilder
- All Implemented Interfaces:
Builder<ExtensionSetTimeoutInMsAction>
Example to create an instance using the builder pattern
ExtensionSetTimeoutInMsAction extensionSetTimeoutInMsAction = ExtensionSetTimeoutInMsAction.builder()
.build()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
builds ExtensionSetTimeoutInMsAction with checking for non-null required valuesbuilds ExtensionSetTimeoutInMsAction without checking for non-null required valuesValue to set.of()
factory method for an instance of ExtensionSetTimeoutInMsActionBuilderof
(ExtensionSetTimeoutInMsAction template) create builder for ExtensionSetTimeoutInMsAction instancetimeoutInMs
(Integer timeoutInMs) Value to set.
-
Constructor Details
-
ExtensionSetTimeoutInMsActionBuilder
public ExtensionSetTimeoutInMsActionBuilder()
-
-
Method Details
-
timeoutInMs
Value to set. If not defined, the maximum value is used. If no timeout is provided, the default value is used for all types of Extensions, including
payment
Extensions. The maximum value is 10000 ms (10 seconds) forpayment
Extensions and 2000 ms (2 seconds) for all other Extensions.This limit can be increased per Project after we review the performance impact. Please contact the Composable Commerce support team and provide the Region, Project key, and use case.
- Parameters:
timeoutInMs
- value to be set- Returns:
- Builder
-
getTimeoutInMs
Value to set. If not defined, the maximum value is used. If no timeout is provided, the default value is used for all types of Extensions, including
payment
Extensions. The maximum value is 10000 ms (10 seconds) forpayment
Extensions and 2000 ms (2 seconds) for all other Extensions.This limit can be increased per Project after we review the performance impact. Please contact the Composable Commerce support team and provide the Region, Project key, and use case.
- Returns:
- timeoutInMs
-
build
builds ExtensionSetTimeoutInMsAction with checking for non-null required values- Specified by:
build
in interfaceBuilder<ExtensionSetTimeoutInMsAction>
- Returns:
- ExtensionSetTimeoutInMsAction
-
buildUnchecked
builds ExtensionSetTimeoutInMsAction without checking for non-null required values- Returns:
- ExtensionSetTimeoutInMsAction
-
of
factory method for an instance of ExtensionSetTimeoutInMsActionBuilder- Returns:
- builder
-
of
create builder for ExtensionSetTimeoutInMsAction instance- Parameters:
template
- instance with prefilled values for the builder- Returns:
- builder
-