Package com.merative.acd.v1
Class AnnotatorForClinicalData
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.merative.acd.v1.AnnotatorForClinicalData
-
public class AnnotatorForClinicalData extends com.ibm.cloud.sdk.core.service.BaseServiceNatural Language Processing (NLP) service featuring a set of medical domain annotators for use in detecting entities and medical concepts from unstructured data. Multiple annotators may be invoked from a single request.- Version:
- v1
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringDEBUGstatic java.lang.StringDEFAULT_SERVICE_NAMEstatic java.lang.StringDEFAULT_SERVICE_URLstatic java.lang.StringRETURN_ANALYZED_TEXTstatic java.lang.StringVERSION
-
Constructor Summary
Constructors Constructor Description AnnotatorForClinicalData(java.lang.String version, java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `AnnotatorForClinicalDataAcd` client.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<ContainerGroup>analyze(AnalyzeOptions analyzeOptions)Detect entities and relations from unstructured data.ContainerGroupanalyze(java.lang.String text, Flow flow)Method to analyze text with a provided annotator flow definition.ContainerGroupanalyze(java.lang.String text, Flow flow, boolean returnAnalyzedText)Method to analyze text using a provided annotator flow definition.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeDebug(java.lang.String text, Flow flow, boolean returnAnalyzedText, boolean debug)Method to analyze text using a provided annotator flow definition.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeInclResponseDetails(java.lang.String text, Flow flow)Method to analyze text using a provided annotator flow definition.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeInclResponseDetails(java.lang.String text, Flow flow, boolean returnAnalyzedText)Method to analyze text using a provided annotator flow definition.com.ibm.cloud.sdk.core.http.ServiceCall<ContainerGroup>analyzeWithFlow(AnalyzeWithFlowOptions analyzeWithFlowOptions)Detect entities and relations from unstructured data using a persisted flow.ContainerGroupanalyzeWithFlow(java.lang.String flowId, UnstructuredContainer unstructuredContainer)Method to analyze text with a persisted annotator flow.ContainerGroupanalyzeWithFlow(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText)Method to analyze text with a persisted annotator flow.ContainerGroupanalyzeWithFlow(java.lang.String flowId, java.lang.String text)Method to analyze text with a persisted annotator flow.ContainerGroupanalyzeWithFlow(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText)Method to analyze text with a persisted annotator flow.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeWithFlowDebug(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText, boolean debug)Method to analyze text with a persisted annotator flow with analyze debug flag enabled.ContainerGroupanalyzeWithFlowDebug(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText, boolean debug)Method to analyze text with a persisted annotator flow with analyze debug flag enabled.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeWithFlowInclResponseDetails(java.lang.String flowId, UnstructuredContainer unstructuredContainer)Method to analyze text with a persisted annotator flow.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeWithFlowInclResponseDetails(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText)Method to analyze text with a persisted annotator flow.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeWithFlowInclResponseDetails(java.lang.String flowId, java.lang.String text)Method to analyze text with a persisted annotator flow.com.ibm.cloud.sdk.core.http.Response<ContainerGroup>analyzeWithFlowInclResponseDetails(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText)Method to analyze text with a persisted annotator flow.com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridgesList>cartridgesGet()Get list of available deployment status.com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridgesList>cartridgesGet(CartridgesGetOptions cartridgesGetOptions)Get list of cartridge deployment statuses.com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridges>cartridgesGetId(CartridgesGetIdOptions cartridgesGetIdOptions)Get details of a specific deployment.com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse>cartridgesPostMultipart()Create a cartridge deployment.com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse>cartridgesPostMultipart(CartridgesPostMultipartOptions cartridgesPostMultipartOptions)Create a cartridge deployment.com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse>cartridgesPutMultipart()Update an existing cartridge deployment.com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse>cartridgesPutMultipart(CartridgesPutMultipartOptions cartridgesPutMultipartOptions)Update an existing a cartridge deployment.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>createFlows()Persist a new flow definition.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>createFlows(CreateFlowsOptions createFlowsOptions)Persist a new flow definition.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>createProfile()Persist a new profile.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>createProfile(CreateProfileOptions createProfileOptions)Persist a new profile.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteFlows(DeleteFlowsOptions deleteFlowsOptions)Delete a persisted flow.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteProfile(DeleteProfileOptions deleteProfileOptions)Delete a persisted profile.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteUserSpecificArtifacts()Delete tenant specific artifacts.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>deleteUserSpecificArtifacts(DeleteUserSpecificArtifactsOptions deleteUserSpecificArtifactsOptions)Delete tenant specific artifacts.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,ServiceApiBean>>getAnnotators()Get list of available annotators.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,ServiceApiBean>>getAnnotators(GetAnnotatorsOptions getAnnotatorsOptions)Get list of available annotators.com.ibm.cloud.sdk.core.http.ServiceCall<ServiceApiBean>getAnnotatorsById(GetAnnotatorsByIdOptions getAnnotatorsByIdOptions)Get details of a specific annotator.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdFlow>>getFlows()Get list of available persisted flows.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdFlow>>getFlows(GetFlowsOptions getFlowsOptions)Get list of available persisted flows.com.ibm.cloud.sdk.core.http.ServiceCall<AcdFlow>getFlowsById(GetFlowsByIdOptions getFlowsByIdOptions)Get details of a specific flow.com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus>getHealthCheckStatus()Determine if service is running correctly.com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus>getHealthCheckStatus(GetHealthCheckStatusOptions getHealthCheckStatusOptions)Determine if service is running correctly.com.ibm.cloud.sdk.core.http.ServiceCall<AcdProfile>getProfile(GetProfileOptions getProfileOptions)Get details of a specific profile.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdProfile>>getProfiles()Get list of available persisted profiles.com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdProfile>>getProfiles(GetProfilesOptions getProfilesOptions)Get list of available persisted profiles.java.lang.StringgetVersion()Gets the version.static AnnotatorForClinicalDatanewInstance(java.lang.String version)Class method which constructs an instance of the `AnnotatorForClinicalDataAcd` client.static AnnotatorForClinicalDatanewInstance(java.lang.String version, java.lang.String serviceName)Class method which constructs an instance of the `AnnotatorForClinicalDataAcd` client.voidsetVersion(java.lang.String version)Sets the version.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>updateFlows(UpdateFlowsOptions updateFlowsOptions)Update a persisted flow definition.com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void>updateProfile(UpdateProfileOptions updateProfileOptions)Update a persisted profile definition.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final java.lang.String DEFAULT_SERVICE_URL
- See Also:
- Constant Field Values
-
RETURN_ANALYZED_TEXT
public static final java.lang.String RETURN_ANALYZED_TEXT
- See Also:
- Constant Field Values
-
VERSION
public static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
DEBUG
public static final java.lang.String DEBUG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AnnotatorForClinicalData
public AnnotatorForClinicalData(java.lang.String version, java.lang.String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)Constructs an instance of the `AnnotatorForClinicalDataAcd` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
version- The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.serviceName- the service name to be used when configuring the client instanceauthenticator- theAuthenticatorinstance to be configured for this client
-
-
Method Detail
-
newInstance
public static AnnotatorForClinicalData newInstance(java.lang.String version)
Class method which constructs an instance of the `AnnotatorForClinicalDataAcd` client. The default service name is used to configure the client instance.- Parameters:
version- The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.- Returns:
- an instance of the `AnnotatorForClinicalDataAcd` client using external configuration
-
newInstance
public static AnnotatorForClinicalData newInstance(java.lang.String version, java.lang.String serviceName)
Class method which constructs an instance of the `AnnotatorForClinicalDataAcd` client. The specified service name is used to configure the client instance.- Parameters:
version- The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.serviceName- the service name to be used when configuring the client instance- Returns:
- an instance of the `AnnotatorForClinicalDataAcd` client using external configuration
-
getVersion
public java.lang.String getVersion()
Gets the version. The release date of the version of the API you want to use. Specify dates in YYYY-MM-DD format.- Returns:
- the version
-
setVersion
public void setVersion(java.lang.String version)
Sets the version.- Parameters:
version- the new version
-
getProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdProfile>> getProfiles(GetProfilesOptions getProfilesOptions)
Get list of available persisted profiles. Returns a summary including ID and description of the available persisted profiles.- Parameters:
getProfilesOptions- theGetProfilesOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeMap<String,AcdProfile>
-
getProfiles
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdProfile>> getProfiles()
Get list of available persisted profiles. Returns a summary including ID and description of the available persisted profiles.- Returns:
- a
ServiceCallwith a result of typeMap<String,AcdProfile>
-
createProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> createProfile(CreateProfileOptions createProfileOptions)
Persist a new profile. This API persists a new profile. A profile is identified by an ID. This ID can optionally be specified as part of the request body when invoking <b>POST /v1/analyze</b> API. A profile contains annotator configuration information that will be applied to the annotators specified in the annotator flow.<p>If a caller would choose to have the ID of the new profile generated on their behalf, then in the request body the "id" field of the profile definition should be an empty string (""). The auto-generated ID would be a normalized form of the "name" field from the profile definition.- Parameters:
createProfileOptions- theCreateProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
createProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> createProfile()
Persist a new profile. This API persists a new profile. A profile is identified by an ID. This ID can optionally be specified as part of the request body when invoking <b>POST /v1/analyze</b> API. A profile contains annotator configuration information that will be applied to the annotators specified in the annotator flow.<p>If a caller would choose to have the ID of the new profile generated on their behalf, then in the request body the "id" field of the profile definition should be an empty string (""). The auto-generated ID would be a normalized form of the "name" field from the profile definition.- Returns:
- a
ServiceCallwith a void result
-
getProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<AcdProfile> getProfile(GetProfileOptions getProfileOptions)
Get details of a specific profile. Using the specified profile ID, retrieves the profile definition.- Parameters:
getProfileOptions- theGetProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAcdProfile
-
updateProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateProfile(UpdateProfileOptions updateProfileOptions)
Update a persisted profile definition. Using the specified Profile ID, updates the profile definition. This is a complete replacement of the existing profile definition using the JSON object provided in the request body.- Parameters:
updateProfileOptions- theUpdateProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
deleteProfile
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteProfile(DeleteProfileOptions deleteProfileOptions)
Delete a persisted profile. Using the specified profile ID, deletes the profile from the list of persisted profiles.- Parameters:
deleteProfileOptions- theDeleteProfileOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
getFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdFlow>> getFlows(GetFlowsOptions getFlowsOptions)
Get list of available persisted flows. Returns a summary including ID and description of the available persisted flows.- Parameters:
getFlowsOptions- theGetFlowsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeMap<String,AcdFlow>
-
getFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,AcdFlow>> getFlows()
Get list of available persisted flows. Returns a summary including ID and description of the available persisted flows.- Returns:
- a
ServiceCallwith a result of typeMap<String,AcdFlow>
-
createFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> createFlows(CreateFlowsOptions createFlowsOptions)
Persist a new flow definition. This API persists a new flow. A flow is identified by an ID. This ID can optionally be specified as part of the request body when invoking <b>POST /v1/analyze</b> API. A flow definition contains a list one or more annotators, and optionally can include annotator configuration, a flow ID, and/or flow sequence.<p>If a caller would choose to have the ID of the new flow generated on their behalf, then in the request body the "id" field of the flow definition should be an empty string (""). The auto-generated ID would be a normalized form of the "name" field from the flow definition.- Parameters:
createFlowsOptions- theCreateFlowsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
createFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> createFlows()
Persist a new flow definition. This API persists a new flow. A flow is identified by an ID. This ID can optionally be specified as part of the request body when invoking <b>POST /v1/analyze</b> API. A flow definition contains a list one or more annotators, and optionally can include annotator configuration, a flow ID, and/or flow sequence.<p>If a caller would choose to have the ID of the new flow generated on their behalf, then in the request body the "id" field of the flow definition should be an empty string (""). The auto-generated ID would be a normalized form of the "name" field from the flow definition.- Returns:
- a
ServiceCallwith a void result
-
getFlowsById
public com.ibm.cloud.sdk.core.http.ServiceCall<AcdFlow> getFlowsById(GetFlowsByIdOptions getFlowsByIdOptions)
Get details of a specific flow. Using the specified Flow ID, retrieves the flow definition.- Parameters:
getFlowsByIdOptions- theGetFlowsByIdOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAcdFlow
-
updateFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> updateFlows(UpdateFlowsOptions updateFlowsOptions)
Update a persisted flow definition. Using the specified Flow ID, updates the persisted flow definition. This is a complete replacement of the existing flow definition using the JSON object provided in the request body.- Parameters:
updateFlowsOptions- theUpdateFlowsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
deleteFlows
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteFlows(DeleteFlowsOptions deleteFlowsOptions)
Delete a persisted flow. Using the specified Flow ID, deletes the flow from the list of persisted flows.- Parameters:
deleteFlowsOptions- theDeleteFlowsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
analyze
public com.ibm.cloud.sdk.core.http.ServiceCall<ContainerGroup> analyze(AnalyzeOptions analyzeOptions)
Detect entities and relations from unstructured data. This API accepts a JSON request model featuring both the unstructured data to be analyzed as well as the desired annotator flow.- Parameters:
analyzeOptions- theAnalyzeOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeContainerGroup
-
analyzeWithFlow
public com.ibm.cloud.sdk.core.http.ServiceCall<ContainerGroup> analyzeWithFlow(AnalyzeWithFlowOptions analyzeWithFlowOptions)
Detect entities and relations from unstructured data using a persisted flow. This API accepts a flow identifier as well as a TEXT or a JSON request model featuring the unstructured text to be analyzed. JSON request model with unstructured text- Parameters:
analyzeWithFlowOptions- theAnalyzeWithFlowOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeContainerGroup
-
analyze
public ContainerGroup analyze(java.lang.String text, Flow flow)
Method to analyze text with a provided annotator flow definition.- Parameters:
text- data to be analyzedflow-Flowanalytics to apply to the text- Returns:
- the
ContainerGroupdiscovered cognitive entities
-
analyzeInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeInclResponseDetails(java.lang.String text, Flow flow)
Method to analyze text using a provided annotator flow definition.- Parameters:
text- data to be analyzedflow-Flowannotator flow definition- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyze
public ContainerGroup analyze(java.lang.String text, Flow flow, boolean returnAnalyzedText)
Method to analyze text using a provided annotator flow definition.- Parameters:
text- data to be analyzedflow-Flowannotator flow definitionreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
ContainerGroup
-
analyzeInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeInclResponseDetails(java.lang.String text, Flow flow, boolean returnAnalyzedText)
Method to analyze text using a provided annotator flow definition.- Parameters:
text- data to be analyzedflow-Flowannotator flow definitionreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeDebug
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeDebug(java.lang.String text, Flow flow, boolean returnAnalyzedText, boolean debug)
Method to analyze text using a provided annotator flow definition.- Parameters:
text- data to be analyzedflow-Flowannotator flow definitionreturnAnalyzedText- if true, analyzed text is included in responsedebug- analyze debug flag- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeWithFlow
public ContainerGroup analyzeWithFlow(java.lang.String flowId, java.lang.String text)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the texttext- data to be analyzed- Returns:
- the
ContainerGroup
-
analyzeWithFlowInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeWithFlowInclResponseDetails(java.lang.String flowId, java.lang.String text)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the texttext- data to be analyzed- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeWithFlow
public ContainerGroup analyzeWithFlow(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the texttext- data to be analyzedreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
ContainerGroup
-
analyzeWithFlowDebug
public ContainerGroup analyzeWithFlowDebug(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText, boolean debug)
Method to analyze text with a persisted annotator flow with analyze debug flag enabled.- Parameters:
flowId- identifier of persisted annotator flow to apply to the texttext- data to be analyzedreturnAnalyzedText- if true, analyzed text is included in responsedebug- turn on analyze debug flag- Returns:
- the
ContainerGroup
-
analyzeWithFlowInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeWithFlowInclResponseDetails(java.lang.String flowId, java.lang.String text, boolean returnAnalyzedText)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the texttext- data to be analyzedreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeWithFlow
public ContainerGroup analyzeWithFlow(java.lang.String flowId, UnstructuredContainer unstructuredContainer)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the textunstructuredContainer-UnstructuredContainertext to analyze and discovered cognitive entities- Returns:
- the
ContainerGroup
-
analyzeWithFlow
public ContainerGroup analyzeWithFlow(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the textunstructuredContainer-UnstructuredContainertext to analyze and discovered cognitive entitiesreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
ContainerGroupdiscovered cognitive entities
-
analyzeWithFlowInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeWithFlowInclResponseDetails(java.lang.String flowId, UnstructuredContainer unstructuredContainer)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the textunstructuredContainer-UnstructuredContainertext to analyze and discovered cognitive entities- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeWithFlowInclResponseDetails
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeWithFlowInclResponseDetails(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText)
Method to analyze text with a persisted annotator flow.- Parameters:
flowId- identifier of persisted annotator flow to apply to the textunstructuredContainer-UnstructuredContainertext to analyze and discovered cognitive entitiesreturnAnalyzedText- if true, analyzed text is included in response- Returns:
- the
Responsewith a result of typeContainerGroup
-
analyzeWithFlowDebug
public com.ibm.cloud.sdk.core.http.Response<ContainerGroup> analyzeWithFlowDebug(java.lang.String flowId, UnstructuredContainer unstructuredContainer, boolean returnAnalyzedText, boolean debug)
Method to analyze text with a persisted annotator flow with analyze debug flag enabled.- Parameters:
flowId- identifier of persisted annotator flow to apply to the textunstructuredContainer-UnstructuredContainertext to analyze and discovered cognitive entitiesreturnAnalyzedText- if true, analyzed text is included in responsedebug- analyze debug flag enabled- Returns:
- the
Responsewith a result of typeContainerGroup
-
getAnnotators
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,ServiceApiBean>> getAnnotators(GetAnnotatorsOptions getAnnotatorsOptions)
Get list of available annotators. Get list of available annotators that can be leveraged to detect information from unstructured data. One or more annotators can be leveraged within a single request to the service.- Parameters:
getAnnotatorsOptions- theGetAnnotatorsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeMap<String,ServiceApiBean>
-
getAnnotators
public com.ibm.cloud.sdk.core.http.ServiceCall<java.util.Map<java.lang.String,ServiceApiBean>> getAnnotators()
Get list of available annotators. Get list of available annotators that can be leveraged to detect information from unstructured data. One or more annotators can be leveraged within a single request to the service.- Returns:
- a
ServiceCallwith a result of typeMap<String,ServiceApiBean>
-
getAnnotatorsById
public com.ibm.cloud.sdk.core.http.ServiceCall<ServiceApiBean> getAnnotatorsById(GetAnnotatorsByIdOptions getAnnotatorsByIdOptions)
Get details of a specific annotator. Get details of an annotator that can be used to detect information from unstructured data.- Parameters:
getAnnotatorsByIdOptions- theGetAnnotatorsByIdOptionscontaining the options for the call- Returns:
- a
ServiceCallwith aServiceApiBeanresult
-
deleteUserSpecificArtifacts
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserSpecificArtifacts(DeleteUserSpecificArtifactsOptions deleteUserSpecificArtifactsOptions)
Delete tenant specific artifacts. Delete tenant specific artifacts.- Parameters:
deleteUserSpecificArtifactsOptions- theDeleteUserSpecificArtifactsOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a void result
-
deleteUserSpecificArtifacts
public com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteUserSpecificArtifacts()
Delete tenant specific artifacts. Delete tenant specific artifacts.- Returns:
- a
ServiceCallwith a void result
-
cartridgesGet
public com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridgesList> cartridgesGet(CartridgesGetOptions cartridgesGetOptions)
Get list of cartridge deployment statuses. Returns a summary including ID and status of the available deployments.- Parameters:
cartridgesGetOptions- theCartridgesGetOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAcdCartridgesList
-
cartridgesGet
public com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridgesList> cartridgesGet()
Get list of available deployment status. Returns a summary including ID and status of the available deployments.- Returns:
- a
ServiceCallwith a result of typeAcdCartridgesList
-
cartridgesPostMultipart
public com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse> cartridgesPostMultipart(CartridgesPostMultipartOptions cartridgesPostMultipartOptions)
Create a cartridge deployment. Create a cartridge deployment from a cartridge archive file.- Parameters:
cartridgesPostMultipartOptions- theCartridgesPostMultipartOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDeployCartridgeResponse
-
cartridgesPostMultipart
public com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse> cartridgesPostMultipart()
Create a cartridge deployment. Create a cartridge deployment from a cartridge archive file.- Returns:
- a
ServiceCallwith a result of typeDeployCartridgeResponse
-
cartridgesPutMultipart
public com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse> cartridgesPutMultipart(CartridgesPutMultipartOptions cartridgesPutMultipartOptions)
Update an existing a cartridge deployment. Update a cartridge deployment from a cartridge archive file.- Parameters:
cartridgesPutMultipartOptions- theCartridgesPutMultipartOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeDeployCartridgeResponse
-
cartridgesPutMultipart
public com.ibm.cloud.sdk.core.http.ServiceCall<DeployCartridgeResponse> cartridgesPutMultipart()
Update an existing cartridge deployment. Update a cartridge deployment from a cartridge archive file.- Returns:
- a
ServiceCallwith a result of typeDeployCartridgeResponse
-
cartridgesGetId
public com.ibm.cloud.sdk.core.http.ServiceCall<AcdCartridges> cartridgesGetId(CartridgesGetIdOptions cartridgesGetIdOptions)
Get details of a specific deployment. Using the specified Catridge ID, retrieves the deployment status.- Parameters:
cartridgesGetIdOptions- theCartridgesGetIdOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeAcdCartridges
-
getHealthCheckStatus
public com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getHealthCheckStatus(GetHealthCheckStatusOptions getHealthCheckStatusOptions)
Determine if service is running correctly. This resource differs from /status in that it will will always return a 500 error if the service state is not OK. This makes it simpler for service front ends (such as Datapower) to detect a failed service.- Parameters:
getHealthCheckStatusOptions- theGetHealthCheckStatusOptionscontaining the options for the call- Returns:
- a
ServiceCallwith a result of typeServiceStatus
-
getHealthCheckStatus
public com.ibm.cloud.sdk.core.http.ServiceCall<ServiceStatus> getHealthCheckStatus()
Determine if service is running correctly. This resource differs from /status in that it will will always return a 500 error if the service state is not OK. This makes it simpler for service front ends (such as Datapower) to detect a failed service.- Returns:
- a
ServiceCallwith a result of typeServiceStatus
-
-