Interface ContactLensRedactionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContactLensRedactionConfiguration.Builder,,ContactLensRedactionConfiguration> SdkBuilder<ContactLensRedactionConfiguration.Builder,,ContactLensRedactionConfiguration> SdkPojo
- Enclosing class:
ContactLensRedactionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output.The entity types to redact from the transcript (for example,NAME,EMAIL,ADDRESS).entities(Collection<String> entities) The entity types to redact from the transcript (for example,NAME,EMAIL,ADDRESS).How sensitive information is masked in the transcript.The redaction policy that determines which versions of the transcript are stored.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
behavior
Specifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output. Valid values:
-
Enable– Redaction is applied according to the other values in this object. -
Disable– Redaction is not applied, and all other values in this object are ignored.
- Parameters:
behavior- Specifies whether redaction is enabled for sensitive data, such as personal information, in the conversational analytics output. Valid values:-
Enable– Redaction is applied according to the other values in this object. -
Disable– Redaction is not applied, and all other values in this object are ignored.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
policy
The redaction policy that determines which versions of the transcript are stored. Valid values:
-
None– No redaction is applied. -
RedactedOnly– Only the redacted transcript is stored. -
RedactedAndOriginal– Both the redacted and the original transcript are stored.
- Parameters:
policy- The redaction policy that determines which versions of the transcript are stored. Valid values:-
None– No redaction is applied. -
RedactedOnly– Only the redacted transcript is stored. -
RedactedAndOriginal– Both the redacted and the original transcript are stored.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
entities
The entity types to redact from the transcript (for example,
NAME,EMAIL,ADDRESS).- Parameters:
entities- The entity types to redact from the transcript (for example,NAME,EMAIL,ADDRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entities
The entity types to redact from the transcript (for example,
NAME,EMAIL,ADDRESS).- Parameters:
entities- The entity types to redact from the transcript (for example,NAME,EMAIL,ADDRESS).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maskMode
How sensitive information is masked in the transcript. Valid values:
-
PII– All redacted entities are replaced with the[PII]string. -
EntityType– All redacted entities are replaced with the label of the entity. For example, when theEMAILentity is configured for redaction, emails in the transcript are replaced with the[EMAIL]string.
- Parameters:
maskMode- How sensitive information is masked in the transcript. Valid values:-
PII– All redacted entities are replaced with the[PII]string. -
EntityType– All redacted entities are replaced with the label of the entity. For example, when theEMAILentity is configured for redaction, emails in the transcript are replaced with the[EMAIL]string.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-