Class MegacliteServiceBindingDestinationLoader
java.lang.Object
com.sap.cloud.sdk.cloudplatform.connectivity.MegacliteServiceBindingDestinationLoader
- All Implemented Interfaces:
ServiceBindingDestinationLoader
@Beta
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 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:
tryGetDestination
in interfaceServiceBindingDestinationLoader
- Parameters:
options
- TheServiceBindingDestinationOptions
that 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 aDestinationAccessException
or aDestinationNotFoundException
.
-