@Generated(value="software.amazon.awssdk:codegen") public final class Trait extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Trait.Builder,Trait>
Provides contextual information about the extracted entity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Trait.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Trait.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AttributeName |
name()
Provides a name or contextual description about the trait.
|
String |
nameAsString()
Provides a name or contextual description about the trait.
|
Float |
score()
The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Trait.Builder> |
serializableBuilderClass() |
Trait.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AttributeName name()
Provides a name or contextual description about the trait.
If the service returns an enum value that is not available in the current SDK version, name will return
AttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AttributeNamepublic final String nameAsString()
Provides a name or contextual description about the trait.
If the service returns an enum value that is not available in the current SDK version, name will return
AttributeName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
AttributeNamepublic final Float score()
The level of confidence that Amazon Comprehend Medical has in the accuracy of this trait.
public Trait.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Trait.Builder,Trait>public static Trait.Builder builder()
public static Class<? extends Trait.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.