Interface BotImportSpecification.Builder

  • Method Details

    • 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

      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.
    • dataPrivacy

      default BotImportSpecification.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)
      Sets the value of the DataPrivacy property for this object. This is a convenience method that creates an instance of the DataPrivacy.Builder avoiding the need to create one manually via DataPrivacy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataPrivacy(DataPrivacy).

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

      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.