@Generated(value="software.amazon.awssdk:codegen") public final class CreateSlotTypeResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateSlotTypeResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier for the bot associated with the slot type.
|
String |
botVersion()
The version of the bot associated with the slot type.
|
static CreateSlotTypeResponse.Builder |
builder() |
CompositeSlotTypeSetting |
compositeSlotTypeSetting()
Specifications for a composite slot type.
|
Instant |
creationDateTime()
A timestamp of the date and time that the slot type was created.
|
String |
description()
The description specified for the slot type.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ExternalSourceSetting |
externalSourceSetting()
The type of external information used to create the slot type.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasSlotTypeValues()
For responses, this returns true if the service returned a value for the SlotTypeValues property.
|
String |
localeId()
The specified language and local specified for the slot type.
|
String |
parentSlotTypeSignature()
The signature of the base slot type specified for the slot type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateSlotTypeResponse.Builder> |
serializableBuilderClass() |
String |
slotTypeId()
The unique identifier assigned to the slot type.
|
String |
slotTypeName()
The name specified for the slot type.
|
List<SlotTypeValue> |
slotTypeValues()
The list of values that the slot type can assume.
|
CreateSlotTypeResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SlotValueSelectionSetting |
valueSelectionSetting()
The strategy that Amazon Lex uses to select a value from the list of possible values.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String slotTypeId()
The unique identifier assigned to the slot type. Use this to identify the slot type in the
UpdateSlotType and DeleteSlotType operations.
UpdateSlotType and DeleteSlotType operations.public final String slotTypeName()
The name specified for the slot type.
public final String description()
The description specified for the slot type.
public final boolean hasSlotTypeValues()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<SlotTypeValue> slotTypeValues()
The list of values that the slot type can assume.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasSlotTypeValues() method.
public final SlotValueSelectionSetting valueSelectionSetting()
The strategy that Amazon Lex uses to select a value from the list of possible values.
public final String parentSlotTypeSignature()
The signature of the base slot type specified for the slot type.
public final String botId()
The identifier for the bot associated with the slot type.
public final String botVersion()
The version of the bot associated with the slot type.
public final String localeId()
The specified language and local specified for the slot type.
public final Instant creationDateTime()
A timestamp of the date and time that the slot type was created.
public final ExternalSourceSetting externalSourceSetting()
The type of external information used to create the slot type.
public final CompositeSlotTypeSetting compositeSlotTypeSetting()
Specifications for a composite slot type.
public CreateSlotTypeResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateSlotTypeResponse.Builder,CreateSlotTypeResponse>toBuilder in class AwsResponsepublic static CreateSlotTypeResponse.Builder builder()
public static Class<? extends CreateSlotTypeResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.