Class DestinationService.Builder
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationService.Builder
- Enclosing class:
- DestinationService
Static builder class.
- Since:
- 4.4.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create the configuredDestinationService
instance.withTimeLimiterConfiguration
(ResilienceConfiguration.TimeLimiterConfiguration timeLimiterConfiguration) Create instance applying the given timeout when retrieving destinations.
-
Method Details
-
withTimeLimiterConfiguration
@Nonnull public DestinationService.Builder withTimeLimiterConfiguration(@Nonnull ResilienceConfiguration.TimeLimiterConfiguration timeLimiterConfiguration) Create instance applying the given timeout when retrieving destinations.- Parameters:
timeLimiterConfiguration
- The time limiter configuration to be applied for the request. UseTimeLimiterConfiguration.of().timeoutDuration( int )
to create a time limiter configuration- Returns:
- The builder itself.
- Since:
- 4.4.0
-
build
Create the configuredDestinationService
instance.- Returns:
- The new instance.
- Since:
- 4.4.0
-