@Beta public class LeonardoMlFoundation extends Object
Be aware that this class is in Beta (as indicated by the annotation) and therefore subject to breaking changes.
Constructor and Description |
---|
LeonardoMlFoundation() |
Modifier and Type | Method and Description |
---|---|
static LeonardoMlService |
create(CloudFoundryLeonardoMlServiceType cfServiceType,
LeonardoMlServiceType mlServiceType)
Loads service details from Cloud Foundry service of given type for the given Leonardo Machine Learning Foundation
service type.
|
static LeonardoMlService |
create(String cfServiceType,
String serviceUrlKey)
Loads service details from Cloud Foundry service of given type for the given Leonardo Machine Learning Foundation
service type.
|
@Nonnull public static LeonardoMlService create(@Nonnull CloudFoundryLeonardoMlServiceType cfServiceType, @Nonnull LeonardoMlServiceType mlServiceType) throws CloudPlatformException
cfServiceType
- the Cloud Foundry service type to usemlServiceType
- indicates the Leonardo ML service to instantiate an accessor for.CloudPlatformException
- if the service cannot be found or required information is missing.@Nonnull public static LeonardoMlService create(@Nonnull String cfServiceType, @Nonnull String serviceUrlKey) throws CloudPlatformException
cfServiceType
- the Cloud Foundry service type to useserviceUrlKey
- to use to fetch the url from Cloud Foundry service credentials and create a service wrapper for.CloudPlatformException
- if the service cannot be found or required information is missing.Copyright © 2020 SAP SE. All rights reserved.