Interface UpdateBotRequest.Builder

    • Method Detail

      • botId

        UpdateBotRequest.Builder botId​(String botId)

        The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.

        Parameters:
        botId - The unique identifier of the bot to update. This identifier is returned by the CreateBot operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botName

        UpdateBotRequest.Builder botName​(String botName)

        The new name of the bot. The name must be unique in the account that creates the bot.

        Parameters:
        botName - The new name of the bot. The name must be unique in the account that creates the bot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateBotRequest.Builder description​(String description)

        A description of the bot.

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

        UpdateBotRequest.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) of an IAM role that has permissions to access the bot.

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

        UpdateBotRequest.Builder dataPrivacy​(DataPrivacy dataPrivacy)

        Provides information on additional privacy protections Amazon Lex should use with the bot's data.

        Parameters:
        dataPrivacy - Provides information on additional privacy protections Amazon Lex should use with the bot's data.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleSessionTTLInSeconds

        UpdateBotRequest.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.
      • botType

        UpdateBotRequest.Builder botType​(String botType)

        The type of the bot to be updated.

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

        UpdateBotRequest.Builder botType​(BotType botType)

        The type of the bot to be updated.

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

        UpdateBotRequest.Builder botMembers​(Collection<BotMember> botMembers)

        The list of bot members in the network associated with the update action.

        Parameters:
        botMembers - The list of bot members in the network associated with the update action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botMembers

        UpdateBotRequest.Builder botMembers​(BotMember... botMembers)

        The list of bot members in the network associated with the update action.

        Parameters:
        botMembers - The list of bot members in the network associated with the update action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botMembers

        UpdateBotRequest.Builder botMembers​(Consumer<BotMember.Builder>... botMembers)

        The list of bot members in the network associated with the update action.

        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).

        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:
        #botMembers(java.util.Collection)