Class MegacliteServiceBindingDestinationLoader
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.MegacliteServiceBindingDestinationLoader
- All Implemented Interfaces:
ServiceBindingDestinationLoader
public final class MegacliteServiceBindingDestinationLoader
extends Object
implements ServiceBindingDestinationLoader
Representation of the Megaclite service as provided in Deploy with Confidence landscapes. This class
can be used to convert
MegacliteServiceBinding instances into HttpDestination that use Megaclite as
an egress proxy.- Since:
- 4.17.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.cloudplatform.connectivity.ServiceBindingDestinationLoader
getDestination
-
Constructor Details
-
MegacliteServiceBindingDestinationLoader
public MegacliteServiceBindingDestinationLoader()
-
-
Method Details
-
tryGetDestination
@Nonnull public io.vavr.control.Try<HttpDestination> tryGetDestination(@Nonnull ServiceBindingDestinationOptions options) Description copied from interface:ServiceBindingDestinationLoader- Specified by:
tryGetDestinationin interfaceServiceBindingDestinationLoader- Parameters:
options- TheServiceBindingDestinationOptionsthat contain further context information about how the transformation process should be done.- Returns:
- Either a
Try.success(Object)if the transformation succeeded,Try.failure(Throwable)otherwise.In case of a
Try.failure(Throwable), the cause will either be aDestinationAccessExceptionor aDestinationNotFoundException.
-