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