Interface SNOMEDCTEntity.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SNOMEDCTEntity.Builder,
,SNOMEDCTEntity> SdkBuilder<SNOMEDCTEntity.Builder,
,SNOMEDCTEntity> SdkPojo
- Enclosing class:
SNOMEDCTEntity
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Collection<SNOMEDCTAttribute> attributes) An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.attributes
(Consumer<SNOMEDCTAttribute.Builder>... attributes) An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.attributes
(SNOMEDCTAttribute... attributes) An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.beginOffset
(Integer beginOffset) The 0-based character offset in the input text that shows where the entity begins.The category of the detected entity.category
(SNOMEDCTEntityCategory category) The category of the detected entity.The 0-based character offset in the input text that shows where the entity ends.The numeric identifier for the entity.The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.snomedctConcepts
(Collection<SNOMEDCTConcept> snomedctConcepts) The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.snomedctConcepts
(Consumer<SNOMEDCTConcept.Builder>... snomedctConcepts) The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.snomedctConcepts
(SNOMEDCTConcept... snomedctConcepts) The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.The segment of input text extracted as this entity.traits
(Collection<SNOMEDCTTrait> traits) Contextual information for the entity.traits
(Consumer<SNOMEDCTTrait.Builder>... traits) Contextual information for the entity.traits
(SNOMEDCTTrait... traits) Contextual information for the entity.Describes the specific type of entity with category of entities.type
(SNOMEDCTEntityType type) Describes the specific type of entity with category of entities.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, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.
- Parameters:
id
- The numeric identifier for the entity. This is a monotonically increasing id unique within this response rather than a global unique identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
text
The segment of input text extracted as this entity.
- Parameters:
text
- The segment of input text extracted as this entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.
- Parameters:
category
- The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
category
The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.
- Parameters:
category
- The category of the detected entity. Possible categories are MEDICAL_CONDITION, ANATOMY, or TEST_TREATMENT_PROCEDURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.
- Parameters:
type
- Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.
- Parameters:
type
- Describes the specific type of entity with category of entities. Possible types include DX_NAME, ACUITY, DIRECTION, SYSTEM_ORGAN_SITE, TEST_NAME, TEST_VALUE, TEST_UNIT, PROCEDURE_NAME, or TREATMENT_NAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
score
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.
- Parameters:
score
- The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
beginOffset
The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.
- Parameters:
beginOffset
- The 0-based character offset in the input text that shows where the entity begins. The offset returns the UTF-8 code point in the string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endOffset
The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.
- Parameters:
endOffset
- The 0-based character offset in the input text that shows where the entity ends. The offset returns the UTF-8 code point in the string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
- Parameters:
attributes
- An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
- Parameters:
attributes
- An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
An extracted segment of the text that is an attribute of an entity, or otherwise related to an entity, such as the dosage of a medication taken.
This is a convenience method that creates an instance of theSNOMEDCTAttribute.Builder
avoiding the need to create one manually viaSNOMEDCTAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributes(List<SNOMEDCTAttribute>)
.- Parameters:
attributes
- a consumer that will call methods onSNOMEDCTAttribute.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
traits
Contextual information for the entity.
- Parameters:
traits
- Contextual information for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
Contextual information for the entity.
- Parameters:
traits
- Contextual information for the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
Contextual information for the entity.
This is a convenience method that creates an instance of theSNOMEDCTTrait.Builder
avoiding the need to create one manually viaSNOMEDCTTrait.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totraits(List<SNOMEDCTTrait>)
.- Parameters:
traits
- a consumer that will call methods onSNOMEDCTTrait.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
snomedctConcepts
The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.
- Parameters:
snomedctConcepts
- The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snomedctConcepts
The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.
- Parameters:
snomedctConcepts
- The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snomedctConcepts
The SNOMED concepts that the entity could refer to, along with a score indicating the likelihood of the match.
This is a convenience method that creates an instance of theSNOMEDCTConcept.Builder
avoiding the need to create one manually viaSNOMEDCTConcept.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnomedctConcepts(List<SNOMEDCTConcept>)
.- Parameters:
snomedctConcepts
- a consumer that will call methods onSNOMEDCTConcept.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-