@Generated(value="software.amazon.awssdk:codegen") public final class PutSessionResponse extends LexRuntimeV2Response implements ToCopyableBuilder<PutSessionResponse.Builder,PutSessionResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutSessionResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PutSessionResponse.Builder |
builder() |
String |
contentType()
The type of response.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
messages()
A list of messages that were last sent to the user.
|
String |
requestAttributes()
Request-specific information passed between the client application and Amazon Lex V2.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutSessionResponse.Builder> |
serializableBuilderClass() |
String |
sessionId()
The identifier of the session that received the data.
|
String |
sessionState()
Represents the current state of the dialog between the user and the bot.
|
PutSessionResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String contentType()
The type of response. Same as the type specified in the responseContentType field in the request.
responseContentType field in the
request.public final String messages()
A list of messages that were last sent to the user. The messages are ordered based on how you return the messages from you Lambda function or the order that the messages are defined in the bot.
public final String sessionState()
Represents the current state of the dialog between the user and the bot.
Use this to determine the progress of the conversation and what the next action may be.
Use this to determine the progress of the conversation and what the next action may be.
public final String requestAttributes()
Request-specific information passed between the client application and Amazon Lex V2. These are the same as the
requestAttribute parameter in the call to the PutSession operation.
requestAttribute parameter in the call to the PutSession operation.public final String sessionId()
The identifier of the session that received the data.
public PutSessionResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutSessionResponse.Builder,PutSessionResponse>toBuilder in class AwsResponsepublic static PutSessionResponse.Builder builder()
public static Class<? extends PutSessionResponse.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.