Class DestinationService.Builder

java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationService.Builder
Enclosing class:
DestinationService

public static final class DestinationService.Builder extends Object
Static builder class.
Since:
4.4.0
  • 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. Use TimeLimiterConfiguration.of().timeoutDuration( int ) to create a time limiter configuration
      Returns:
      The builder itself.
      Since:
      4.4.0
    • build

      @Nonnull public DestinationService build()
      Create the configured DestinationService instance.
      Returns:
      The new instance.
      Since:
      4.4.0