@Stability(value=Stable)
public static interface CfnBot.SlotTypeProperty
extends software.amazon.jsii.JsiiSerializable
// 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.*;
SlotTypeProperty slotTypeProperty = SlotTypeProperty.builder()
.name("name")
// the properties below are optional
.description("description")
.externalSourceSetting(ExternalSourceSettingProperty.builder()
.grammarSlotTypeSetting(GrammarSlotTypeSettingProperty.builder()
.source(GrammarSlotTypeSourceProperty.builder()
.s3BucketName("s3BucketName")
.s3ObjectKey("s3ObjectKey")
// the properties below are optional
.kmsKeyArn("kmsKeyArn")
.build())
.build())
.build())
.parentSlotTypeSignature("parentSlotTypeSignature")
.slotTypeValues(List.of(SlotTypeValueProperty.builder()
.sampleValue(SampleValueProperty.builder()
.value("value")
.build())
// the properties below are optional
.synonyms(List.of(SampleValueProperty.builder()
.value("value")
.build()))
.build()))
.valueSelectionSetting(SlotValueSelectionSettingProperty.builder()
.resolutionStrategy("resolutionStrategy")
// the properties below are optional
.regexFilter(SlotValueRegexFilterProperty.builder()
.pattern("pattern")
.build())
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.SlotTypeProperty.Builder
A builder for
CfnBot.SlotTypeProperty |
static class |
CfnBot.SlotTypeProperty.Jsii$Proxy
An implementation for
CfnBot.SlotTypeProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.SlotTypeProperty.Builder |
builder() |
default String |
getDescription()
`CfnBot.SlotTypeProperty.Description`.
|
default Object |
getExternalSourceSetting()
`CfnBot.SlotTypeProperty.ExternalSourceSetting`.
|
String |
getName()
`CfnBot.SlotTypeProperty.Name`.
|
default String |
getParentSlotTypeSignature()
`CfnBot.SlotTypeProperty.ParentSlotTypeSignature`.
|
default Object |
getSlotTypeValues()
`CfnBot.SlotTypeProperty.SlotTypeValues`.
|
default Object |
getValueSelectionSetting()
`CfnBot.SlotTypeProperty.ValueSelectionSetting`.
|
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Object getExternalSourceSetting()
@Stability(value=Stable) @NotNull String getName()
@Stability(value=Stable) @Nullable default String getParentSlotTypeSignature()
@Stability(value=Stable) @Nullable default Object getSlotTypeValues()
@Stability(value=Stable) @Nullable default Object getValueSelectionSetting()
@Stability(value=Stable) static CfnBot.SlotTypeProperty.Builder builder()
CfnBot.SlotTypeProperty.Builder of CfnBot.SlotTypePropertyCopyright © 2021. All rights reserved.