@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSComprehendMedicalAsyncClient extends AWSComprehendMedicalClient implements AWSComprehendMedicalAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
Comprehend Medical extracts structured information from unstructured clinical text. Use these actions to gain insight in your documents.
configFactoryclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AWSComprehendMedicalAsyncClientBuilder |
asyncBuilder() |
Future<DetectEntitiesResult> |
detectEntitiesAsync(DetectEntitiesRequest request)
Inspects the clinical text for a variety of medical entities and returns specific information about them such as
entity category, location, and confidence score on that information .
|
Future<DetectEntitiesResult> |
detectEntitiesAsync(DetectEntitiesRequest request,
AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
Inspects the clinical text for a variety of medical entities and returns specific information about them such as
entity category, location, and confidence score on that information .
|
Future<DetectPHIResult> |
detectPHIAsync(DetectPHIRequest request)
Inspects the clinical text for personal health information (PHI) entities and entity category, location, and
confidence score on that information.
|
Future<DetectPHIResult> |
detectPHIAsync(DetectPHIRequest request,
AsyncHandler<DetectPHIRequest,DetectPHIResult> asyncHandler)
Inspects the clinical text for personal health information (PHI) entities and entity category, location, and
confidence score on that information.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, detectEntities, detectPHI, getCachedResponseMetadataaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetectEntities, detectPHI, getCachedResponseMetadatapublic static AWSComprehendMedicalAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request)
AWSComprehendMedicalAsyncInspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information .
detectEntitiesAsync in interface AWSComprehendMedicalAsyncpublic Future<DetectEntitiesResult> detectEntitiesAsync(DetectEntitiesRequest request, AsyncHandler<DetectEntitiesRequest,DetectEntitiesResult> asyncHandler)
AWSComprehendMedicalAsyncInspects the clinical text for a variety of medical entities and returns specific information about them such as entity category, location, and confidence score on that information .
detectEntitiesAsync in interface AWSComprehendMedicalAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public Future<DetectPHIResult> detectPHIAsync(DetectPHIRequest request)
AWSComprehendMedicalAsyncInspects the clinical text for personal health information (PHI) entities and entity category, location, and confidence score on that information.
detectPHIAsync in interface AWSComprehendMedicalAsyncpublic Future<DetectPHIResult> detectPHIAsync(DetectPHIRequest request, AsyncHandler<DetectPHIRequest,DetectPHIResult> asyncHandler)
AWSComprehendMedicalAsyncInspects the clinical text for personal health information (PHI) entities and entity category, location, and confidence score on that information.
detectPHIAsync in interface AWSComprehendMedicalAsyncasyncHandler - Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AWSComprehendMedicalshutdown in class AmazonWebServiceClientCopyright © 2019. All rights reserved.