@Stability(value=Stable)
public static interface CfnBot.SlotTypeValueProperty
extends software.amazon.jsii.JsiiSerializable
The SlotTypeValue represents a value that the slot type can take.
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.*;
SlotTypeValueProperty slotTypeValueProperty = SlotTypeValueProperty.builder()
.sampleValue(SampleValueProperty.builder()
.value("value")
.build())
// the properties below are optional
.synonyms(List.of(SampleValueProperty.builder()
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.SlotTypeValueProperty.Builder
A builder for
CfnBot.SlotTypeValueProperty |
static class |
CfnBot.SlotTypeValueProperty.Jsii$Proxy
An implementation for
CfnBot.SlotTypeValueProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.SlotTypeValueProperty.Builder |
builder() |
Object |
getSampleValue()
The value of the slot type entry.
|
default Object |
getSynonyms()
Additional values related to the slot type entry.
|
@Stability(value=Stable) @NotNull Object getSampleValue()
@Stability(value=Stable) @Nullable default Object getSynonyms()
@Stability(value=Stable) static CfnBot.SlotTypeValueProperty.Builder builder()
Copyright © 2022. All rights reserved.