Interface UpdateBotResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<UpdateBotResponse.Builder,UpdateBotResponse>, LexModelsV2Response.Builder, SdkBuilder<UpdateBotResponse.Builder,UpdateBotResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
UpdateBotResponse

public static interface UpdateBotResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<UpdateBotResponse.Builder,UpdateBotResponse>
  • Method Details

    • botId

      The unique identifier of the bot that was updated.

      Parameters:
      botId - The unique identifier of the bot that was updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botName

      The name of the bot after the update.

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

      UpdateBotResponse.Builder description(String description)

      The description of the bot after the update.

      Parameters:
      description - The description of the bot after the update.
      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 by the bot after the update.

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

      UpdateBotResponse.Builder dataPrivacy(DataPrivacy dataPrivacy)

      The data privacy settings for the bot after the update.

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

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

      The data privacy settings for the bot after the update.

      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

      UpdateBotResponse.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)

      The session timeout, in seconds, for the bot after the update.

      Parameters:
      idleSessionTTLInSeconds - The session timeout, in seconds, for the bot after the update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botStatus

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

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

      UpdateBotResponse.Builder creationDateTime(Instant creationDateTime)

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

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

      UpdateBotResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)

      A timestamp of the date and time that the bot was last updated.

      Parameters:
      lastUpdatedDateTime - A timestamp of the date and time that the bot was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botType

      The type of the bot that was updated.

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

      The type of the bot that was updated.

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

      The list of bot members in the network that was updated.

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

      UpdateBotResponse.Builder botMembers(BotMember... botMembers)

      The list of bot members in the network that was updated.

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

      The list of bot members in the network that was updated.

      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: