Interface IntentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IntentSummary.Builder,IntentSummary>,SdkBuilder<IntentSummary.Builder,IntentSummary>,SdkPojo
- Enclosing class:
- IntentSummary
public static interface IntentSummary.Builder extends SdkPojo, CopyableBuilder<IntentSummary.Builder,IntentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntentSummary.Builderdescription(String description)The description of the intent.IntentSummary.BuilderinputContexts(Collection<InputContext> inputContexts)The input contexts that must be active for this intent to be considered for recognition.IntentSummary.BuilderinputContexts(Consumer<InputContext.Builder>... inputContexts)The input contexts that must be active for this intent to be considered for recognition.IntentSummary.BuilderinputContexts(InputContext... inputContexts)The input contexts that must be active for this intent to be considered for recognition.IntentSummary.BuilderintentId(String intentId)The unique identifier assigned to the intent.IntentSummary.BuilderintentName(String intentName)The name of the intent.IntentSummary.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)The timestamp of the date and time that the intent was last updated.IntentSummary.BuilderoutputContexts(Collection<OutputContext> outputContexts)The output contexts that are activated when this intent is fulfilled.IntentSummary.BuilderoutputContexts(Consumer<OutputContext.Builder>... outputContexts)The output contexts that are activated when this intent is fulfilled.IntentSummary.BuilderoutputContexts(OutputContext... outputContexts)The output contexts that are activated when this intent is fulfilled.IntentSummary.BuilderparentIntentSignature(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 Detail
-
intentId
IntentSummary.Builder intentId(String intentId)
The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the
DescribeIntentoperation.- Parameters:
intentId- The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with theDescribeIntentoperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
IntentSummary.Builder intentName(String 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
IntentSummary.Builder description(String 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
IntentSummary.Builder parentIntentSignature(String 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
IntentSummary.Builder inputContexts(Collection<InputContext> 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
IntentSummary.Builder inputContexts(InputContext... 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
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.Builderavoiding the need to create one manually viaInputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#inputContexts(List.) - 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:
#inputContexts(java.util.Collection)
-
outputContexts
IntentSummary.Builder outputContexts(Collection<OutputContext> 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
IntentSummary.Builder outputContexts(OutputContext... 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
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.Builderavoiding the need to create one manually viaOutputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputContexts(List.) - 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:
#outputContexts(java.util.Collection)
-
lastUpdatedDateTime
IntentSummary.Builder lastUpdatedDateTime(Instant 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.
-
-