Interface ICD10CMAttribute.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ICD10CMAttribute.Builder,ICD10CMAttribute>,SdkBuilder<ICD10CMAttribute.Builder,ICD10CMAttribute>,SdkPojo
- Enclosing class:
- ICD10CMAttribute
public static interface ICD10CMAttribute.Builder extends SdkPojo, CopyableBuilder<ICD10CMAttribute.Builder,ICD10CMAttribute>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICD10CMAttribute.BuilderbeginOffset(Integer beginOffset)The 0-based character offset in the input text that shows where the attribute begins.ICD10CMAttribute.Buildercategory(String category)The category of attribute.ICD10CMAttribute.Buildercategory(ICD10CMEntityType category)The category of attribute.ICD10CMAttribute.BuilderendOffset(Integer endOffset)The 0-based character offset in the input text that shows where the attribute ends.ICD10CMAttribute.Builderid(Integer id)The numeric identifier for this attribute.ICD10CMAttribute.BuilderrelationshipScore(Float relationshipScore)The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.ICD10CMAttribute.BuilderrelationshipType(String relationshipType)The type of relationship between the entity and attribute.ICD10CMAttribute.BuilderrelationshipType(ICD10CMRelationshipType relationshipType)The type of relationship between the entity and attribute.ICD10CMAttribute.Builderscore(Float score)The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.ICD10CMAttribute.Buildertext(String text)The segment of input text which contains the detected attribute.ICD10CMAttribute.Buildertraits(Collection<ICD10CMTrait> traits)The contextual information for the attribute.ICD10CMAttribute.Buildertraits(Consumer<ICD10CMTrait.Builder>... traits)The contextual information for the attribute.ICD10CMAttribute.Buildertraits(ICD10CMTrait... traits)The contextual information for the attribute.ICD10CMAttribute.Buildertype(String type)The type of attribute.ICD10CMAttribute.Buildertype(ICD10CMAttributeType type)The type of attribute.-
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
-
-
-
-
Method Detail
-
type
ICD10CMAttribute.Builder type(String type)
The type of attribute. InferICD10CM detects entities of the type
DX_NAME.- Parameters:
type- The type of attribute. InferICD10CM detects entities of the typeDX_NAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMAttributeType,ICD10CMAttributeType
-
type
ICD10CMAttribute.Builder type(ICD10CMAttributeType type)
The type of attribute. InferICD10CM detects entities of the type
DX_NAME.- Parameters:
type- The type of attribute. InferICD10CM detects entities of the typeDX_NAME.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMAttributeType,ICD10CMAttributeType
-
score
ICD10CMAttribute.Builder score(Float score)
The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.
- Parameters:
score- The level of confidence that Amazon Comprehend Medical has that the segment of text is correctly recognized as an attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
relationshipScore
ICD10CMAttribute.Builder relationshipScore(Float relationshipScore)
The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.
- Parameters:
relationshipScore- The level of confidence that Amazon Comprehend Medical has that this attribute is correctly related to this entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
ICD10CMAttribute.Builder id(Integer id)
The numeric identifier for this attribute. This is a monotonically increasing id unique within this response rather than a global unique identifier.
- Parameters:
id- The numeric identifier for this attribute. 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.
-
beginOffset
ICD10CMAttribute.Builder beginOffset(Integer beginOffset)
The 0-based character offset in the input text that shows where the attribute 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 attribute 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
ICD10CMAttribute.Builder endOffset(Integer endOffset)
The 0-based character offset in the input text that shows where the attribute 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 attribute 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.
-
text
ICD10CMAttribute.Builder text(String text)
The segment of input text which contains the detected attribute.
- Parameters:
text- The segment of input text which contains the detected attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
ICD10CMAttribute.Builder traits(Collection<ICD10CMTrait> traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are
DIAGNOSIS,SIGN,SYMPTOM, andNEGATION.- Parameters:
traits- The contextual information for the attribute. The traits recognized by InferICD10CM areDIAGNOSIS,SIGN,SYMPTOM, andNEGATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
ICD10CMAttribute.Builder traits(ICD10CMTrait... traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are
DIAGNOSIS,SIGN,SYMPTOM, andNEGATION.- Parameters:
traits- The contextual information for the attribute. The traits recognized by InferICD10CM areDIAGNOSIS,SIGN,SYMPTOM, andNEGATION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traits
ICD10CMAttribute.Builder traits(Consumer<ICD10CMTrait.Builder>... traits)
The contextual information for the attribute. The traits recognized by InferICD10CM are
This is a convenience method that creates an instance of theDIAGNOSIS,SIGN,SYMPTOM, andNEGATION.ICD10CMTrait.Builderavoiding the need to create one manually viaICD10CMTrait.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#traits(List.) - Parameters:
traits- a consumer that will call methods onICD10CMTrait.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#traits(java.util.Collection)
-
category
ICD10CMAttribute.Builder category(String category)
The category of attribute. Can be either of
DX_NAMEorTIME_EXPRESSION.- Parameters:
category- The category of attribute. Can be either ofDX_NAMEorTIME_EXPRESSION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMEntityType,ICD10CMEntityType
-
category
ICD10CMAttribute.Builder category(ICD10CMEntityType category)
The category of attribute. Can be either of
DX_NAMEorTIME_EXPRESSION.- Parameters:
category- The category of attribute. Can be either ofDX_NAMEorTIME_EXPRESSION.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMEntityType,ICD10CMEntityType
-
relationshipType
ICD10CMAttribute.Builder relationshipType(String relationshipType)
The type of relationship between the entity and attribute. Type for the relationship can be either of
OVERLAPorSYSTEM_ORGAN_SITE.- Parameters:
relationshipType- The type of relationship between the entity and attribute. Type for the relationship can be either ofOVERLAPorSYSTEM_ORGAN_SITE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMRelationshipType,ICD10CMRelationshipType
-
relationshipType
ICD10CMAttribute.Builder relationshipType(ICD10CMRelationshipType relationshipType)
The type of relationship between the entity and attribute. Type for the relationship can be either of
OVERLAPorSYSTEM_ORGAN_SITE.- Parameters:
relationshipType- The type of relationship between the entity and attribute. Type for the relationship can be either ofOVERLAPorSYSTEM_ORGAN_SITE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ICD10CMRelationshipType,ICD10CMRelationshipType
-
-