@Generated(value="software.amazon.awssdk:codegen") public final class StartConversationRequest extends LexRuntimeV2Request implements ToCopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
StartConversationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botAliasId()
The alias identifier in use for the bot that processes the request.
|
String |
botId()
The identifier of the bot to process the request.
|
static StartConversationRequest.Builder |
builder() |
ConversationMode |
conversationMode()
The conversation type that you are using the Amazon Lex V2.
|
String |
conversationModeAsString()
The conversation type that you are using the Amazon Lex V2.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
localeId()
The locale where the session is in use.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends StartConversationRequest.Builder> |
serializableBuilderClass() |
String |
sessionId()
The identifier of the user session that is having the conversation.
|
StartConversationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot to process the request.
public final String botAliasId()
The alias identifier in use for the bot that processes the request.
public final String localeId()
The locale where the session is in use.
public final String sessionId()
The identifier of the user session that is having the conversation.
public final ConversationMode conversationMode()
The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you
can send both audio and DTMF information. If the mode is TEXT you can only send text.
If the service returns an enum value that is not available in the current SDK version, conversationMode
will return ConversationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from conversationModeAsString().
AUDIO you can send both audio and DTMF information. If the mode is TEXT you can
only send text.ConversationModepublic final String conversationModeAsString()
The conversation type that you are using the Amazon Lex V2. If the conversation mode is AUDIO you
can send both audio and DTMF information. If the mode is TEXT you can only send text.
If the service returns an enum value that is not available in the current SDK version, conversationMode
will return ConversationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from conversationModeAsString().
AUDIO you can send both audio and DTMF information. If the mode is TEXT you can
only send text.ConversationModepublic StartConversationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>toBuilder in class LexRuntimeV2Requestpublic static StartConversationRequest.Builder builder()
public static Class<? extends StartConversationRequest.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.