Class DestinationLoaderChain.DestinationLoaderChainBuilder

java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.DestinationLoaderChain.DestinationLoaderChainBuilder
Enclosing class:
DestinationLoaderChain

public static final class DestinationLoaderChain.DestinationLoaderChainBuilder extends Object
Builder class to construct a DestinationLoaderChain.
  • Method Details

    • append

      @Nonnull public DestinationLoaderChain.DestinationLoaderChainBuilder append(@Nonnull DestinationLoader nextLoader)
      The next DestinationLoader to query if the previous loaders did not return any Destination.
      Parameters:
      nextLoader - The next loader to register
      Returns:
      This builder.
    • build

      @Nonnull public DestinationLoaderChain build()
      Finally create the immutable DestinationLoaderChain based on the given order of DestinationLoaders.
      Returns:
      A fully functional DestinationLoaderChain.