Interface BotImportSpecification.Builder

    • Method Detail

      • botName

        BotImportSpecification.Builder botName​(String botName)

        The name that Amazon Lex should use for the bot.

        Parameters:
        botName - The name that Amazon Lex should use for the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        BotImportSpecification.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dataPrivacy

        BotImportSpecification.Builder dataPrivacy​(DataPrivacy dataPrivacy)
        Sets the value of the DataPrivacy property for this object.
        Parameters:
        dataPrivacy - The new value for the DataPrivacy property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleSessionTTLInSeconds

        BotImportSpecification.Builder idleSessionTTLInSeconds​(Integer idleSessionTTLInSeconds)

        The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

        A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

        You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

        Parameters:
        idleSessionTTLInSeconds - The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.

        A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.

        You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.

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

        BotImportSpecification.Builder botTags​(Map<String,​String> botTags)

        A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.

        Parameters:
        botTags - A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the UpdateBot operation to update tags. To update tags, use the TagResource operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • testBotAliasTags

        BotImportSpecification.Builder testBotAliasTags​(Map<String,​String> testBotAliasTags)

        A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.

        Parameters:
        testBotAliasTags - A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the UpdateAlias operation to update tags. To update tags on the test alias, use the TagResource operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.