Interface InferRxNormResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComprehendMedicalResponse.Builder,CopyableBuilder<InferRxNormResponse.Builder,InferRxNormResponse>,SdkBuilder<InferRxNormResponse.Builder,InferRxNormResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- InferRxNormResponse
public static interface InferRxNormResponse.Builder extends ComprehendMedicalResponse.Builder, SdkPojo, CopyableBuilder<InferRxNormResponse.Builder,InferRxNormResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferRxNormResponse.Builderentities(Collection<RxNormEntity> entities)The medication entities detected in the text linked to RxNorm concepts.InferRxNormResponse.Builderentities(Consumer<RxNormEntity.Builder>... entities)The medication entities detected in the text linked to RxNorm concepts.InferRxNormResponse.Builderentities(RxNormEntity... entities)The medication entities detected in the text linked to RxNorm concepts.InferRxNormResponse.BuildermodelVersion(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.InferRxNormResponse.BuilderpaginationToken(String paginationToken)If the result of the previous request toInferRxNormwas truncated, include thePaginationTokento 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 Detail
-
entities
InferRxNormResponse.Builder entities(Collection<RxNormEntity> 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
InferRxNormResponse.Builder entities(RxNormEntity... 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
InferRxNormResponse.Builder entities(Consumer<RxNormEntity.Builder>... 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.Builderavoiding the need to create one manually viaRxNormEntity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#entities(List.) - 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:
#entities(java.util.Collection)
-
paginationToken
InferRxNormResponse.Builder paginationToken(String paginationToken)
If the result of the previous request to
InferRxNormwas truncated, include thePaginationTokento fetch the next page of medication entities.- Parameters:
paginationToken- If the result of the previous request toInferRxNormwas truncated, include thePaginationTokento fetch the next page of medication entities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVersion
InferRxNormResponse.Builder 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.
- 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.
-
-