Interface Intent.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Intent.Builder,Intent>, SdkBuilder<Intent.Builder,Intent>, SdkPojo
Enclosing class:
Intent

public static interface Intent.Builder extends SdkPojo, CopyableBuilder<Intent.Builder,Intent>
  • Method Details

    • name

      Intent.Builder name(String name)

      The name of the intent.

      Parameters:
      name - The name of the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slots

      Intent.Builder slots(Map<String,Slot> slots)

      A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.

      Parameters:
      slots - A map of all of the slots for the intent. The name of the slot maps to the value of the slot. If a slot has not been filled, the value is null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      Intent.Builder state(String state)

      Contains fulfillment information for the intent.

      Parameters:
      state - Contains fulfillment information for the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      Contains fulfillment information for the intent.

      Parameters:
      state - Contains fulfillment information for the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confirmationState

      Intent.Builder confirmationState(String confirmationState)

      Contains information about whether fulfillment of the intent has been confirmed.

      Parameters:
      confirmationState - Contains information about whether fulfillment of the intent has been confirmed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • confirmationState

      Intent.Builder confirmationState(ConfirmationState confirmationState)

      Contains information about whether fulfillment of the intent has been confirmed.

      Parameters:
      confirmationState - Contains information about whether fulfillment of the intent has been confirmed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: