Interface Entity.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Entity.Builder,Entity>,SdkBuilder<Entity.Builder,Entity>,SdkPojo
- Enclosing class:
- Entity
@Mutable @NotThreadSafe public static interface Entity.Builder extends SdkPojo, CopyableBuilder<Entity.Builder,Entity>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Entity.Buildercategory(String category)The category of information identified.Entity.Builderconfidence(Double confidence)The confidence score associated with the identified PII entity in your audio.Entity.Buildercontent(String content)The word or words identified as PII.Entity.BuilderendTime(Double endTime)The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)Entity.BuilderstartTime(Double startTime)The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)Entity.Buildertype(String type)The type of PII identified.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
startTime
Entity.Builder startTime(Double startTime)
The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
- Parameters:
startTime- The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
Entity.Builder endTime(Double endTime)
The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)
- Parameters:
endTime- The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
category
Entity.Builder category(String category)
The category of information identified. The only category is
PII.- Parameters:
category- The category of information identified. The only category isPII.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Entity.Builder type(String type)
The type of PII identified. For example,
NAMEorCREDIT_DEBIT_NUMBER.- Parameters:
type- The type of PII identified. For example,NAMEorCREDIT_DEBIT_NUMBER.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
Entity.Builder content(String content)
The word or words identified as PII.
- Parameters:
content- The word or words identified as PII.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
confidence
Entity.Builder confidence(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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-