Interface InferSnomedctResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComprehendMedicalResponse.Builder,CopyableBuilder<InferSnomedctResponse.Builder,InferSnomedctResponse>,SdkBuilder<InferSnomedctResponse.Builder,InferSnomedctResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- InferSnomedctResponse
public static interface InferSnomedctResponse.Builder extends ComprehendMedicalResponse.Builder, SdkPojo, CopyableBuilder<InferSnomedctResponse.Builder,InferSnomedctResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InferSnomedctResponse.Buildercharacters(Consumer<Characters.Builder> characters)The number of characters in the input request documentation.InferSnomedctResponse.Buildercharacters(Characters characters)The number of characters in the input request documentation.InferSnomedctResponse.Builderentities(Collection<SNOMEDCTEntity> entities)The collection of medical concept entities extracted from the input text and their associated information.InferSnomedctResponse.Builderentities(Consumer<SNOMEDCTEntity.Builder>... entities)The collection of medical concept entities extracted from the input text and their associated information.InferSnomedctResponse.Builderentities(SNOMEDCTEntity... entities)The collection of medical concept entities extracted from the input text and their associated information.InferSnomedctResponse.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.InferSnomedctResponse.BuilderpaginationToken(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.BuildersnomedctDetails(Consumer<SNOMEDCTDetails.Builder> snomedctDetails)The details of the SNOMED-CT revision, including the edition, language, and version date.InferSnomedctResponse.BuildersnomedctDetails(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 Detail
-
entities
InferSnomedctResponse.Builder entities(Collection<SNOMEDCTEntity> 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
InferSnomedctResponse.Builder entities(SNOMEDCTEntity... 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
InferSnomedctResponse.Builder entities(Consumer<SNOMEDCTEntity.Builder>... 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.Builderavoiding the need to create one manually viaSNOMEDCTEntity.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 onSNOMEDCTEntity.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#entities(java.util.Collection)
-
paginationToken
InferSnomedctResponse.Builder paginationToken(String 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
InferSnomedctResponse.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.
-
snomedctDetails
InferSnomedctResponse.Builder snomedctDetails(SNOMEDCTDetails 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.Builderavoiding the need to create one manually viaSNOMEDCTDetails.builder().When the
Consumercompletes,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:
snomedctDetails(SNOMEDCTDetails)
-
characters
InferSnomedctResponse.Builder characters(Characters 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
default InferSnomedctResponse.Builder characters(Consumer<Characters.Builder> characters)
The number of characters in the input request documentation.
This is a convenience method that creates an instance of theCharacters.Builderavoiding the need to create one manually viaCharacters.builder().When the
Consumercompletes,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:
characters(Characters)
-
-