public static interface IntentSummary.Builder extends SdkPojo, CopyableBuilder<IntentSummary.Builder,IntentSummary>
| Modifier and Type | Method and Description |
|---|---|
IntentSummary.Builder |
description(String description)
The description of the intent.
|
IntentSummary.Builder |
inputContexts(Collection<InputContext> inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
|
IntentSummary.Builder |
inputContexts(Consumer<InputContext.Builder>... inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
|
IntentSummary.Builder |
inputContexts(InputContext... inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
|
IntentSummary.Builder |
intentId(String intentId)
The unique identifier assigned to the intent.
|
IntentSummary.Builder |
intentName(String intentName)
The name of the intent.
|
IntentSummary.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The timestamp of the date and time that the intent was last updated.
|
IntentSummary.Builder |
outputContexts(Collection<OutputContext> outputContexts)
The output contexts that are activated when this intent is fulfilled.
|
IntentSummary.Builder |
outputContexts(Consumer<OutputContext.Builder>... outputContexts)
The output contexts that are activated when this intent is fulfilled.
|
IntentSummary.Builder |
outputContexts(OutputContext... outputContexts)
The output contexts that are activated when this intent is fulfilled.
|
IntentSummary.Builder |
parentIntentSignature(String parentIntentSignature)
If this intent is derived from a built-in intent, the name of the parent intent.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIntentSummary.Builder intentId(String intentId)
The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with
the DescribeIntent operation.
intentId - The unique identifier assigned to the intent. Use this ID to get detailed information about the intent
with the DescribeIntent operation.IntentSummary.Builder intentName(String intentName)
The name of the intent.
intentName - The name of the intent.IntentSummary.Builder description(String description)
The description of the intent.
description - The description of the intent.IntentSummary.Builder parentIntentSignature(String parentIntentSignature)
If this intent is derived from a built-in intent, the name of the parent intent.
parentIntentSignature - If this intent is derived from a built-in intent, the name of the parent intent.IntentSummary.Builder inputContexts(Collection<InputContext> inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
inputContexts - The input contexts that must be active for this intent to be considered for recognition.IntentSummary.Builder inputContexts(InputContext... inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
inputContexts - The input contexts that must be active for this intent to be considered for recognition.IntentSummary.Builder inputContexts(Consumer<InputContext.Builder>... inputContexts)
The input contexts that must be active for this intent to be considered for recognition.
This is a convenience method that creates an instance of theInputContext.Builder avoiding the need to create
one manually via InputContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #inputContexts(List.
inputContexts - a consumer that will call methods on
InputContext.Builder#inputContexts(java.util.Collection) IntentSummary.Builder outputContexts(Collection<OutputContext> outputContexts)
The output contexts that are activated when this intent is fulfilled.
outputContexts - The output contexts that are activated when this intent is fulfilled.IntentSummary.Builder outputContexts(OutputContext... outputContexts)
The output contexts that are activated when this intent is fulfilled.
outputContexts - The output contexts that are activated when this intent is fulfilled.IntentSummary.Builder outputContexts(Consumer<OutputContext.Builder>... outputContexts)
The output contexts that are activated when this intent is fulfilled.
This is a convenience method that creates an instance of theOutputContext.Builder avoiding the need to create
one manually via OutputContext.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #outputContexts(List.
outputContexts - a consumer that will call methods on
OutputContext.Builder#outputContexts(java.util.Collection) IntentSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The timestamp of the date and time that the intent was last updated.
lastUpdatedDateTime - The timestamp of the date and time that the intent was last updated.Copyright © 2023. All rights reserved.