Interface CreateBotResponse.Builder

  • Method Details

    • botId

      A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.

      Parameters:
      botId - A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botName

      The name specified for the bot.

      Parameters:
      botName - The name specified for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateBotResponse.Builder description(String description)

      The description specified for the bot.

      Parameters:
      description - The description specified for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The IAM role specified for the bot.

      Parameters:
      roleArn - The IAM role specified for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataPrivacy

      CreateBotResponse.Builder dataPrivacy(DataPrivacy dataPrivacy)

      The data privacy settings specified for the bot.

      Parameters:
      dataPrivacy - The data privacy settings specified for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataPrivacy

      default CreateBotResponse.Builder dataPrivacy(Consumer<DataPrivacy.Builder> dataPrivacy)

      The data privacy settings specified for the bot.

      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

      CreateBotResponse.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)

      The session idle time specified for the bot.

      Parameters:
      idleSessionTTLInSeconds - The session idle time specified for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botStatus

      CreateBotResponse.Builder botStatus(String botStatus)

      Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.

      Parameters:
      botStatus - Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botStatus

      CreateBotResponse.Builder botStatus(BotStatus botStatus)

      Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.

      Parameters:
      botStatus - Shows the current status of the bot. The bot is first in the Creating status. Once the bot is read for use, it changes to the Available status. After the bot is created, you can use the DRAFT version of the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationDateTime

      CreateBotResponse.Builder creationDateTime(Instant creationDateTime)

      A timestamp indicating the date and time that the bot was created.

      Parameters:
      creationDateTime - A timestamp indicating the date and time that the bot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botTags

      A list of tags associated with the bot.

      Parameters:
      botTags - A list of tags associated with the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • testBotAliasTags

      CreateBotResponse.Builder testBotAliasTags(Map<String,String> testBotAliasTags)

      A list of tags associated with the test alias for the bot.

      Parameters:
      testBotAliasTags - A list of tags associated with the test alias for the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botType

      The type of a bot that was created.

      Parameters:
      botType - The type of a bot that was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botType

      The type of a bot that was created.

      Parameters:
      botType - The type of a bot that was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botMembers

      The list of bots in a network that was created.

      Parameters:
      botMembers - The list of bots in a network that was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botMembers

      CreateBotResponse.Builder botMembers(BotMember... botMembers)

      The list of bots in a network that was created.

      Parameters:
      botMembers - The list of bots in a network that was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botMembers

      The list of bots in a network that was created.

      This is a convenience method that creates an instance of the BotMember.Builder avoiding the need to create one manually via BotMember.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to botMembers(List<BotMember>).

      Parameters:
      botMembers - a consumer that will call methods on BotMember.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • errorLogSettings

      CreateBotResponse.Builder errorLogSettings(ErrorLogSettings errorLogSettings)

      Specifies configuration settings for delivering error logs to Cloudwatch Logs in an Amazon Lex bot response.

      Parameters:
      errorLogSettings - Specifies configuration settings for delivering error logs to Cloudwatch Logs in an Amazon Lex bot response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorLogSettings

      default CreateBotResponse.Builder errorLogSettings(Consumer<ErrorLogSettings.Builder> errorLogSettings)

      Specifies configuration settings for delivering error logs to Cloudwatch Logs in an Amazon Lex bot response.

      This is a convenience method that creates an instance of the ErrorLogSettings.Builder avoiding the need to create one manually via ErrorLogSettings.builder().

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

      Parameters:
      errorLogSettings - a consumer that will call methods on ErrorLogSettings.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: