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 Details

    • 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 DescribeIntent operation.

      Parameters:
      intentId - The unique identifier assigned to the intent. Use this ID to get detailed information about the intent with the DescribeIntent operation.
      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 the InputContext.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<InputContext>).

      Parameters:
      inputContexts - a consumer that will call methods on InputContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the OutputContext.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<OutputContext>).

      Parameters:
      outputContexts - a consumer that will call methods on OutputContext.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.