Interface IntentSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IntentSummary.Builder,
,IntentSummary> SdkBuilder<IntentSummary.Builder,
,IntentSummary> SdkPojo
- Enclosing class:
IntentSummary
-
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) The description of the intent.inputContexts
(Collection<InputContext> inputContexts) The input contexts that must be active for this intent to be considered for recognition.inputContexts
(Consumer<InputContext.Builder>... inputContexts) The input contexts that must be active for this intent to be considered for recognition.inputContexts
(InputContext... inputContexts) The input contexts that must be active for this intent to be considered for recognition.The unique identifier assigned to the intent.intentName
(String intentName) The name of the intent.lastUpdatedDateTime
(Instant lastUpdatedDateTime) The timestamp of the date and time that the intent was last updated.outputContexts
(Collection<OutputContext> outputContexts) The output contexts that are activated when this intent is fulfilled.outputContexts
(Consumer<OutputContext.Builder>... outputContexts) The output contexts that are activated when this intent is fulfilled.outputContexts
(OutputContext... outputContexts) The output contexts that are activated when this intent is fulfilled.parentIntentSignature
(String parentIntentSignature) If this intent is derived from a built-in intent, the name of the parent intent.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, sdkFields
-
Method Details
-
intentId
The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the
DescribeIntent
operation.- Parameters:
intentId
- The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with theDescribeIntent
operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
The name of the intent.
- Parameters:
intentName
- The name of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the intent.
- Parameters:
description
- The description of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
If this intent is derived from a built-in intent, the name of the parent intent.
- Parameters:
parentIntentSignature
- If this intent is derived from a built-in intent, the name of the parent intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The input contexts that must be active for this intent to be considered for recognition.
- Parameters:
inputContexts
- The input contexts that must be active for this intent to be considered for recognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The input contexts that must be active for this intent to be considered for recognition.
- Parameters:
inputContexts
- The input contexts that must be active for this intent to be considered for recognition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaInputContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinputContexts(List<InputContext>)
.- Parameters:
inputContexts
- a consumer that will call methods onInputContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputContexts
The output contexts that are activated when this intent is fulfilled.
- Parameters:
outputContexts
- The output contexts that are activated when this intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
The output contexts that are activated when this intent is fulfilled.
- Parameters:
outputContexts
- The output contexts that are activated when this intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaOutputContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputContexts(List<OutputContext>)
.- Parameters:
outputContexts
- a consumer that will call methods onOutputContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedDateTime
The timestamp of the date and time that the intent was last updated.
- Parameters:
lastUpdatedDateTime
- The timestamp of the date and time that the intent was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-