Interface InferSnomedctResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendMedicalResponse.Builder
,CopyableBuilder<InferSnomedctResponse.Builder,
,InferSnomedctResponse> SdkBuilder<InferSnomedctResponse.Builder,
,InferSnomedctResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
InferSnomedctResponse
-
Method Summary
Modifier and TypeMethodDescriptiondefault InferSnomedctResponse.Builder
characters
(Consumer<Characters.Builder> characters) The number of characters in the input request documentation.characters
(Characters characters) The number of characters in the input request documentation.entities
(Collection<SNOMEDCTEntity> entities) The collection of medical concept entities extracted from the input text and their associated information.entities
(Consumer<SNOMEDCTEntity.Builder>... entities) The collection of medical concept entities extracted from the input text and their associated information.entities
(SNOMEDCTEntity... entities) The collection of medical concept entities extracted from the input text and their associated information.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 request is truncated, the pagination token can be used to fetch the next page of entities.default InferSnomedctResponse.Builder
snomedctDetails
(Consumer<SNOMEDCTDetails.Builder> snomedctDetails) The details of the SNOMED-CT revision, including the edition, language, and version date.snomedctDetails
(SNOMEDCTDetails snomedctDetails) The details of the SNOMED-CT revision, including the edition, language, and version date.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 collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
- Parameters:
entities
- The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
- Parameters:
entities
- The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The collection of medical concept entities extracted from the input text and their associated information. For each entity, the response provides the entity text, the entity category, where the entity text begins and ends, and the level of confidence that Amazon Comprehend Medical has in the detection and analysis. Attributes and traits of the entity are also returned.
This is a convenience method that creates an instance of theSNOMEDCTEntity.Builder
avoiding the need to create one manually viaSNOMEDCTEntity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toentities(List<SNOMEDCTEntity>)
.- Parameters:
entities
- a consumer that will call methods onSNOMEDCTEntity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paginationToken
If the result of the request is truncated, the pagination token can be used to fetch the next page of entities.
- Parameters:
paginationToken
- If the result of the request is truncated, the pagination token can be used to fetch the next page of 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.
-
snomedctDetails
The details of the SNOMED-CT revision, including the edition, language, and version date.
- Parameters:
snomedctDetails
- The details of the SNOMED-CT revision, including the edition, language, and version date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snomedctDetails
default InferSnomedctResponse.Builder snomedctDetails(Consumer<SNOMEDCTDetails.Builder> snomedctDetails) The details of the SNOMED-CT revision, including the edition, language, and version date.
This is a convenience method that creates an instance of theSNOMEDCTDetails.Builder
avoiding the need to create one manually viaSNOMEDCTDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnomedctDetails(SNOMEDCTDetails)
.- Parameters:
snomedctDetails
- a consumer that will call methods onSNOMEDCTDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
characters
The number of characters in the input request documentation.
- Parameters:
characters
- The number of characters in the input request documentation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
characters
The number of characters in the input request documentation.
This is a convenience method that creates an instance of theCharacters.Builder
avoiding the need to create one manually viaCharacters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocharacters(Characters)
.- Parameters:
characters
- a consumer that will call methods onCharacters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-