@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RxNormTrait extends Object implements Serializable, Cloneable, StructuredPojo
The contextual information for the entity. InferRxNorm recognizes the trait NEGATION, which is any
indication that the patient is not taking a medication.
| Constructor and Description |
|---|
RxNormTrait() |
| Modifier and Type | Method and Description |
|---|---|
RxNormTrait |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Provides a name or contextual description about the trait.
|
Float |
getScore()
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
Provides a name or contextual description about the trait.
|
void |
setScore(Float score)
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
|
String |
toString()
Returns a string representation of this object.
|
RxNormTrait |
withName(RxNormTraitName name)
Provides a name or contextual description about the trait.
|
RxNormTrait |
withName(String name)
Provides a name or contextual description about the trait.
|
RxNormTrait |
withScore(Float score)
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
|
public void setName(String name)
Provides a name or contextual description about the trait.
name - Provides a name or contextual description about the trait.RxNormTraitNamepublic String getName()
Provides a name or contextual description about the trait.
RxNormTraitNamepublic RxNormTrait withName(String name)
Provides a name or contextual description about the trait.
name - Provides a name or contextual description about the trait.RxNormTraitNamepublic RxNormTrait withName(RxNormTraitName name)
Provides a name or contextual description about the trait.
name - Provides a name or contextual description about the trait.RxNormTraitNamepublic void setScore(Float score)
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
score - The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.public Float getScore()
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
public RxNormTrait withScore(Float score)
The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.
score - The level of confidence that Amazon Comprehend Medical has in the accuracy of the detected trait.public String toString()
toString in class ObjectObject.toString()public RxNormTrait clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.