@Generated(value="software.amazon.awssdk:codegen") public final class Entity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Entity.Builder,Entity>
Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes. Examples include category, confidence score, type, stability score, and start and end times.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Entity.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Entity.Builder |
builder() |
String |
category()
The category of information identified.
|
Double |
confidence()
The confidence score associated with the identified PII entity in your audio.
|
String |
content()
The word or words identified as PII.
|
Double |
endTime()
The end time, in milliseconds, of the utterance that was identified as PII.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Entity.Builder> |
serializableBuilderClass() |
Double |
startTime()
The start time, in milliseconds, of the utterance that was identified as PII.
|
Entity.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of PII identified.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Double startTime()
The start time, in milliseconds, of the utterance that was identified as PII.
public final Double endTime()
The end time, in milliseconds, of the utterance that was identified as PII.
public final String category()
The category of information identified. The only category is PII.
PII.public final String type()
The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.
NAME or CREDIT_DEBIT_NUMBER.public final String content()
The word or words identified as PII.
public final Double confidence()
The confidence score associated with the identified PII entity in your audio.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.
Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.
public Entity.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Entity.Builder,Entity>public static Entity.Builder builder()
public static Class<? extends Entity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.