@Stability(value=Stable)
public static interface CfnBotVersion.BotVersionLocaleSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
BotVersionLocaleSpecificationProperty botVersionLocaleSpecificationProperty = BotVersionLocaleSpecificationProperty.builder()
.botVersionLocaleDetails(BotVersionLocaleDetailsProperty.builder()
.sourceBotVersion("sourceBotVersion")
.build())
.localeId("localeId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder
A builder for
CfnBotVersion.BotVersionLocaleSpecificationProperty |
static class |
CfnBotVersion.BotVersionLocaleSpecificationProperty.Jsii$Proxy
An implementation for
CfnBotVersion.BotVersionLocaleSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder |
builder() |
Object |
getBotVersionLocaleDetails()
The version of a bot used for a bot locale.
|
String |
getLocaleId()
The identifier of the locale to add to the version.
|
@Stability(value=Stable) @NotNull Object getBotVersionLocaleDetails()
@Stability(value=Stable) @NotNull String getLocaleId()
@Stability(value=Stable) static CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.