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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BotMetadata.BuildercreatedDate(Instant createdDate)The date that the bot was created.BotMetadata.Builderdescription(String description)A description of the bot.BotMetadata.BuilderlastUpdatedDate(Instant lastUpdatedDate)The date that the bot was updated.BotMetadata.Buildername(String name)The name of the bot.BotMetadata.Builderstatus(String status)The status of the bot.BotMetadata.Builderstatus(Status status)The status of the bot.BotMetadata.Builderversion(String version)The version of the bot.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
BotMetadata.Builder name(String 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.
-
status
BotMetadata.Builder status(Status status)
The status of the bot.
-
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.
-
-