@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Trait extends Object implements Serializable, Cloneable, StructuredPojo
Provides contextual information about the extracted entity.
Constructor and Description |
---|
Trait() |
Modifier and Type | Method and Description |
---|---|
Trait |
clone() |
boolean |
equals(Object obj) |
String |
getName()
Provides a name or contextual description about the trait.
|
Float |
getScore()
The level of confidence that Comprehend Medical; has in the accuracy of this 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 Comprehend Medical; has in the accuracy of this trait.
|
String |
toString()
Returns a string representation of this object.
|
Trait |
withName(AttributeName name)
Provides a name or contextual description about the trait.
|
Trait |
withName(String name)
Provides a name or contextual description about the trait.
|
Trait |
withScore(Float score)
The level of confidence that Comprehend Medical; has in the accuracy of this 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.AttributeName
public String getName()
Provides a name or contextual description about the trait.
AttributeName
public Trait withName(String name)
Provides a name or contextual description about the trait.
name
- Provides a name or contextual description about the trait.AttributeName
public Trait withName(AttributeName name)
Provides a name or contextual description about the trait.
name
- Provides a name or contextual description about the trait.AttributeName
public void setScore(Float score)
The level of confidence that Comprehend Medical; has in the accuracy of this trait.
score
- The level of confidence that Comprehend Medical; has in the accuracy of this trait.public Float getScore()
The level of confidence that Comprehend Medical; has in the accuracy of this trait.
public Trait withScore(Float score)
The level of confidence that Comprehend Medical; has in the accuracy of this trait.
score
- The level of confidence that Comprehend Medical; has in the accuracy of this trait.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.