Class StartConversationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexruntimev2.model.LexRuntimeV2Request
-
- software.amazon.awssdk.services.lexruntimev2.model.StartConversationRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartConversationRequest extends LexRuntimeV2Request implements ToCopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartConversationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotAliasId()The alias identifier in use for the bot that processes the request.StringbotId()The identifier of the bot to process the request.static StartConversationRequest.Builderbuilder()ConversationModeconversationMode()The conversation type that you are using the Amazon Lex V2.StringconversationModeAsString()The conversation type that you are using the Amazon Lex V2.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The locale where the session is in use.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartConversationRequest.Builder>serializableBuilderClass()StringsessionId()The identifier of the user session that is having the conversation.StartConversationRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
botId
public final String botId()
The identifier of the bot to process the request.
- Returns:
- The identifier of the bot to process the request.
-
botAliasId
public final String botAliasId()
The alias identifier in use for the bot that processes the request.
- Returns:
- The alias identifier in use for the bot that processes the request.
-
localeId
public final String localeId()
The locale where the session is in use.
- Returns:
- The locale where the session is in use.
-
sessionId
public final String sessionId()
The identifier of the user session that is having the conversation.
- Returns:
- The identifier of the user session that is having the conversation.
-
conversationMode
public final ConversationMode conversationMode()
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.If the service returns an enum value that is not available in the current SDK version,
conversationModewill returnConversationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconversationModeAsString().- Returns:
- The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text. - See Also:
ConversationMode
-
conversationModeAsString
public final String conversationModeAsString()
The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text.If the service returns an enum value that is not available in the current SDK version,
conversationModewill returnConversationMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconversationModeAsString().- Returns:
- The conversation type that you are using the Amazon Lex V2. If the conversation mode is
AUDIOyou can send both audio and DTMF information. If the mode isTEXTyou can only send text. - See Also:
ConversationMode
-
toBuilder
public StartConversationRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartConversationRequest.Builder,StartConversationRequest>- Specified by:
toBuilderin classLexRuntimeV2Request
-
builder
public static StartConversationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartConversationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-