Interface ExtractedInformation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ExtractedInformation.Builder,,ExtractedInformation> SdkBuilder<ExtractedInformation.Builder,,ExtractedInformation> SdkPojo
- Enclosing class:
ExtractedInformation
-
Method Summary
Modifier and TypeMethodDescriptionextractedValues(Collection<ExtractedInformationValue> extractedValues) The list of values extracted from the conversation for this extraction definition.extractedValues(Consumer<ExtractedInformationValue.Builder>... extractedValues) The list of values extracted from the conversation for this extraction definition.extractedValues(ExtractedInformationValue... extractedValues) The list of values extracted from the conversation for this extraction definition.extractionDefinitionDisplayLabel(String extractionDefinitionDisplayLabel) The display label of the extraction definition that produced this result.extractionDefinitionId(String extractionDefinitionId) The identifier of the extraction definition that produced this result.extractionDefinitionName(String extractionDefinitionName) The name of the extraction definition that produced this result.failureCode(String failureCode) If the information failed to be extracted, one of the following failure codes occurs:failureCode(ExtractedInformationFailureCode failureCode) If the information failed to be extracted, one of the following failure codes occurs: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
-
extractionDefinitionId
The identifier of the extraction definition that produced this result.
- Parameters:
extractionDefinitionId- The identifier of the extraction definition that produced this result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionDefinitionName
The name of the extraction definition that produced this result.
- Parameters:
extractionDefinitionName- The name of the extraction definition that produced this result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractionDefinitionDisplayLabel
ExtractedInformation.Builder extractionDefinitionDisplayLabel(String extractionDefinitionDisplayLabel) The display label of the extraction definition that produced this result.
- Parameters:
extractionDefinitionDisplayLabel- The display label of the extraction definition that produced this result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractedValues
The list of values extracted from the conversation for this extraction definition. This field is empty when a
FailureCodeis present.- Parameters:
extractedValues- The list of values extracted from the conversation for this extraction definition. This field is empty when aFailureCodeis present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractedValues
The list of values extracted from the conversation for this extraction definition. This field is empty when a
FailureCodeis present.- Parameters:
extractedValues- The list of values extracted from the conversation for this extraction definition. This field is empty when aFailureCodeis present.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extractedValues
ExtractedInformation.Builder extractedValues(Consumer<ExtractedInformationValue.Builder>... extractedValues) The list of values extracted from the conversation for this extraction definition. This field is empty when a
This is a convenience method that creates an instance of theFailureCodeis present.ExtractedInformationValue.Builderavoiding the need to create one manually viaExtractedInformationValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toextractedValues(List<ExtractedInformationValue>).- Parameters:
extractedValues- a consumer that will call methods onExtractedInformationValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureCode
If the information failed to be extracted, one of the following failure codes occurs:
-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: Information extraction requires a conversation with at least one turn from each participant. -
FAILED_SAFETY_GUIDELINES: The extracted information cannot be provided because it failed to meet system safety guidelines. -
INTERNAL_ERROR: Internal system error. -
MAX_PACKAGE_FEATURE_ONLY: Information extraction is only available in Amazon Connect Customer instances.
- Parameters:
failureCode- If the information failed to be extracted, one of the following failure codes occurs:-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: Information extraction requires a conversation with at least one turn from each participant. -
FAILED_SAFETY_GUIDELINES: The extracted information cannot be provided because it failed to meet system safety guidelines. -
INTERNAL_ERROR: Internal system error. -
MAX_PACKAGE_FEATURE_ONLY: Information extraction is only available in Amazon Connect Customer instances.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
failureCode
If the information failed to be extracted, one of the following failure codes occurs:
-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: Information extraction requires a conversation with at least one turn from each participant. -
FAILED_SAFETY_GUIDELINES: The extracted information cannot be provided because it failed to meet system safety guidelines. -
INTERNAL_ERROR: Internal system error. -
MAX_PACKAGE_FEATURE_ONLY: Information extraction is only available in Amazon Connect Customer instances.
- Parameters:
failureCode- If the information failed to be extracted, one of the following failure codes occurs:-
QUOTA_EXCEEDED: The number of concurrent analytics jobs reached your service quota. -
INSUFFICIENT_CONVERSATION_CONTENT: Information extraction requires a conversation with at least one turn from each participant. -
FAILED_SAFETY_GUIDELINES: The extracted information cannot be provided because it failed to meet system safety guidelines. -
INTERNAL_ERROR: Internal system error. -
MAX_PACKAGE_FEATURE_ONLY: Information extraction is only available in Amazon Connect Customer instances.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-