@Generated(value="software.amazon.awssdk:codegen") public final class CreateSlotRequest extends LexModelsV2Request implements ToCopyableBuilder<CreateSlotRequest.Builder,CreateSlotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateSlotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot associated with the slot.
|
String |
botVersion()
The version of the bot associated with the slot.
|
static CreateSlotRequest.Builder |
builder() |
String |
description()
A description of the slot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
intentId()
The identifier of the intent that contains the slot.
|
String |
localeId()
The identifier of the language and locale that the slot will be used in.
|
MultipleValuesSetting |
multipleValuesSetting()
Indicates whether the slot returns multiple values in one response.
|
ObfuscationSetting |
obfuscationSetting()
Determines how slot values are used in Amazon CloudWatch logs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSlotRequest.Builder> |
serializableBuilderClass() |
String |
slotName()
The name of the slot.
|
String |
slotTypeId()
The unique identifier for the slot type associated with this slot.
|
SubSlotSetting |
subSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
|
CreateSlotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SlotValueElicitationSetting |
valueElicitationSetting()
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String slotName()
The name of the slot. Slot names must be unique within the bot that contains the slot.
public final String description()
A description of the slot. Use this to help identify the slot in lists.
public final String slotTypeId()
The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot.
public final SlotValueElicitationSetting valueElicitationSetting()
Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.
public final ObfuscationSetting obfuscationSetting()
Determines how slot values are used in Amazon CloudWatch logs. If the value of the
obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated in the
log output. If the value is None, the actual value is present in the log output.
The default is to obfuscate values in the CloudWatch logs.
obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated
in the log output. If the value is None, the actual value is present in the log output.
The default is to obfuscate values in the CloudWatch logs.
public final String botId()
The identifier of the bot associated with the slot.
public final String botVersion()
The version of the bot associated with the slot.
public final String localeId()
The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages.
public final String intentId()
The identifier of the intent that contains the slot.
public final MultipleValuesSetting multipleValuesSetting()
Indicates whether the slot returns multiple values in one response. Multi-value slots are only available in the
en-US locale. If you set this value to true in any other locale, Amazon Lex throws a
ValidationException.
If the multipleValuesSetting is not set, the default value is false.
true in any other locale, Amazon Lex throws a
ValidationException.
If the multipleValuesSetting is not set, the default value is false.
public final SubSlotSetting subSlotSetting()
Specifications for the constituent sub slots and the expression for the composite slot.
public CreateSlotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSlotRequest.Builder,CreateSlotRequest>toBuilder in class LexModelsV2Requestpublic static CreateSlotRequest.Builder builder()
public static Class<? extends CreateSlotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.