Interface InferRxNormResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendMedicalResponse.Builder
,CopyableBuilder<InferRxNormResponse.Builder,
,InferRxNormResponse> SdkBuilder<InferRxNormResponse.Builder,
,InferRxNormResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
InferRxNormResponse
-
Method Summary
Modifier and TypeMethodDescriptionentities
(Collection<RxNormEntity> entities) The medication entities detected in the text linked to RxNorm concepts.entities
(Consumer<RxNormEntity.Builder>... entities) The medication entities detected in the text linked to RxNorm concepts.entities
(RxNormEntity... entities) The medication entities detected in the text linked to RxNorm concepts.modelVersion
(String modelVersion) The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.paginationToken
(String paginationToken) If the result of the previous request toInferRxNorm
was truncated, include thePaginationToken
to fetch the next page of medication entities.Methods inherited from interface software.amazon.awssdk.services.comprehendmedical.model.ComprehendMedicalResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
entities
The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.
- Parameters:
entities
- The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.
- Parameters:
entities
- The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The medication entities detected in the text linked to RxNorm concepts. If the action is successful, the service sends back an HTTP 200 response, as well as the entities detected.
This is a convenience method that creates an instance of theRxNormEntity.Builder
avoiding the need to create one manually viaRxNormEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentities(List<RxNormEntity>)
.- Parameters:
entities
- a consumer that will call methods onRxNormEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paginationToken
If the result of the previous request to
InferRxNorm
was truncated, include thePaginationToken
to fetch the next page of medication entities.- Parameters:
paginationToken
- If the result of the previous request toInferRxNorm
was truncated, include thePaginationToken
to fetch the next page of medication entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.
- Parameters:
modelVersion
- The version of the model used to analyze the documents, in the format n.n.n You can use this information to track the model used for a particular batch of documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-