@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) |
<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 Comprehend Medical has in the accuracy of this trait.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Trait.Builder> |
serializableBuilderClass() |
Trait.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic 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 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 Float score()
The level of confidence that Comprehend Medical has in the accuracy of this trait.
public Trait.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<Trait.Builder,Trait>public static Trait.Builder builder()
public static Class<? extends Trait.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.