Interface BotMetadata.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BotMetadata.Builder,BotMetadata>, SdkBuilder<BotMetadata.Builder,BotMetadata>, SdkPojo
Enclosing class:
BotMetadata

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

    • name

      The name of the bot.

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

      BotMetadata.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.
    • status

      BotMetadata.Builder status(String status)

      The status of the bot.

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

      BotMetadata.Builder status(Status status)

      The status of the bot.

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

      BotMetadata.Builder lastUpdatedDate(Instant lastUpdatedDate)

      The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.

      Parameters:
      lastUpdatedDate - The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdDate

      BotMetadata.Builder createdDate(Instant createdDate)

      The date that the bot was created.

      Parameters:
      createdDate - The date that the bot was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      BotMetadata.Builder version(String version)

      The version of the bot. For a new bot, the version is always $LATEST.

      Parameters:
      version - The version of the bot. For a new bot, the version is always $LATEST.
      Returns:
      Returns a reference to this object so that method calls can be chained together.