Interface SlotDefaultValue.Builder

    • Method Detail

      • defaultValue

        SlotDefaultValue.Builder defaultValue​(String defaultValue)

        The default value for the slot. You can specify one of the following:

        • #context-name.slot-name - The slot value "slot-name" in the context "context-name."

        • {attribute} - The slot value of the session attribute "attribute."

        • 'value' - The discrete value "value."

        Parameters:
        defaultValue - The default value for the slot. You can specify one of the following:

        • #context-name.slot-name - The slot value "slot-name" in the context "context-name."

        • {attribute} - The slot value of the session attribute "attribute."

        • 'value' - The discrete value "value."

        Returns:
        Returns a reference to this object so that method calls can be chained together.