Interface DescribeBotVersionResponse.Builder

  • Method Details

    • botId

      The identifier of the bot that contains the version.

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

      The name of the bot that contains the version.

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

      The version of the bot that was described.

      Parameters:
      botVersion - The version of the bot that was described.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      DescribeBotVersionResponse.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 Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.

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

      Data privacy settings for the bot version.

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

      Data privacy settings for the bot version.

      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

      DescribeBotVersionResponse.Builder idleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)

      The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.

      Parameters:
      idleSessionTTLInSeconds - The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botStatus

      The current status of the bot. When the status is Available, the bot version is ready for use.

      Parameters:
      botStatus - The current status of the bot. When the status is Available, the bot version is ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • botStatus

      The current status of the bot. When the status is Available, the bot version is ready for use.

      Parameters:
      botStatus - The current status of the bot. When the status is Available, the bot version is ready for use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • failureReasons

      DescribeBotVersionResponse.Builder failureReasons(Collection<String> failureReasons)

      If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.

      Parameters:
      failureReasons - If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • failureReasons

      DescribeBotVersionResponse.Builder failureReasons(String... failureReasons)

      If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.

      Parameters:
      failureReasons - If the botStatus is Failed, this contains a list of reasons that the version couldn't be built.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDateTime

      DescribeBotVersionResponse.Builder creationDateTime(Instant creationDateTime)

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

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

      DescribeBotVersionResponse.Builder parentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)

      A list of the networks to which the bot version you described belongs.

      Parameters:
      parentBotNetworks - A list of the networks to which the bot version you described belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentBotNetworks

      DescribeBotVersionResponse.Builder parentBotNetworks(ParentBotNetwork... parentBotNetworks)

      A list of the networks to which the bot version you described belongs.

      Parameters:
      parentBotNetworks - A list of the networks to which the bot version you described belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentBotNetworks

      DescribeBotVersionResponse.Builder parentBotNetworks(Consumer<ParentBotNetwork.Builder>... parentBotNetworks)

      A list of the networks to which the bot version you described belongs.

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

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

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

      The type of the bot in the version that was described.

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

      The type of the bot in the version that was described.

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

      The members of bot network in the version that was described.

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

      DescribeBotVersionResponse.Builder botMembers(BotMember... botMembers)

      The members of bot network in the version that was described.

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

      The members of bot network in the version that was described.

      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: