Class IntentFollowUpPromptPromptArgs.Builder

    • Method Detail

      • maxAttempts

        public IntentFollowUpPromptPromptArgs.Builder maxAttempts​(com.pulumi.core.Output<java.lang.Integer> maxAttempts)
        Parameters:
        maxAttempts - The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
        Returns:
        builder
      • maxAttempts

        public IntentFollowUpPromptPromptArgs.Builder maxAttempts​(java.lang.Integer maxAttempts)
        Parameters:
        maxAttempts - The number of times to prompt the user for information. Must be a number between 1 and 5 (inclusive).
        Returns:
        builder
      • messages

        public IntentFollowUpPromptPromptArgs.Builder messages​(com.pulumi.core.Output<java.util.List<IntentFollowUpPromptPromptMessageArgs>> messages)
        Parameters:
        messages - A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
        Returns:
        builder
      • messages

        public IntentFollowUpPromptPromptArgs.Builder messages​(java.util.List<IntentFollowUpPromptPromptMessageArgs> messages)
        Parameters:
        messages - A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
        Returns:
        builder
      • messages

        public IntentFollowUpPromptPromptArgs.Builder messages​(IntentFollowUpPromptPromptMessageArgs... messages)
        Parameters:
        messages - A set of messages, each of which provides a message string and its type. You can specify the message string in plain text or in Speech Synthesis Markup Language (SSML). Attributes are documented under message. Must contain between 1 and 15 messages.
        Returns:
        builder
      • responseCard

        public IntentFollowUpPromptPromptArgs.Builder responseCard​(@Nullable
                                                                   com.pulumi.core.Output<java.lang.String> responseCard)
        Parameters:
        responseCard - The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
        Returns:
        builder
      • responseCard

        public IntentFollowUpPromptPromptArgs.Builder responseCard​(java.lang.String responseCard)
        Parameters:
        responseCard - The response card. Amazon Lex will substitute session attributes and slot values into the response card. For more information, see [Example: Using a Response Card](https://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html). Must be less than or equal to 50000 characters in length.
        Returns:
        builder