/* * Copyright 2010-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ package com.amazonaws.services.lexrts.model; import java.io.Serializable; public class GetSessionResult implements Serializable { /** *
* An array of information about the intents used in the session. The array
* can contain a maximum of three summaries. If more than three intents are
* used in the session, the recentIntentSummaryView
operation
* contains information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in the
* request, the array contains only the intents with the specified label.
*
* Map of key/value pairs representing the session-specific context * information. It contains application information passed between Amazon * Lex and a client application. *
*/ private java.util.Map* A unique identifier for the session. *
*/ private String sessionId; /** ** Describes the current state of the bot. *
*/ private DialogAction dialogAction; /** *
* A list of active contexts for the session. A context can be set when an
* intent is fulfilled or by calling the PostContent
,
* PostText
, or PutSession
operation.
*
* You can use a context to control the intents that can follow up an * intent, or to modify the operation of your application. *
*/ private java.util.List
* An array of information about the intents used in the session. The array
* can contain a maximum of three summaries. If more than three intents are
* used in the session, the recentIntentSummaryView
operation
* contains information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in the
* request, the array contains only the intents with the specified label.
*
* An array of information about the intents used in the session.
* The array can contain a maximum of three summaries. If more than
* three intents are used in the session, the
* recentIntentSummaryView
operation contains
* information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in
* the request, the array contains only the intents with the
* specified label.
*
* An array of information about the intents used in the session. The array
* can contain a maximum of three summaries. If more than three intents are
* used in the session, the recentIntentSummaryView
operation
* contains information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in the
* request, the array contains only the intents with the specified label.
*
* An array of information about the intents used in the session.
* The array can contain a maximum of three summaries. If more
* than three intents are used in the session, the
* recentIntentSummaryView
operation contains
* information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in
* the request, the array contains only the intents with the
* specified label.
*
* An array of information about the intents used in the session. The array
* can contain a maximum of three summaries. If more than three intents are
* used in the session, the recentIntentSummaryView
operation
* contains information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in the
* request, the array contains only the intents with the specified label.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param recentIntentSummaryView
* An array of information about the intents used in the session.
* The array can contain a maximum of three summaries. If more
* than three intents are used in the session, the
* recentIntentSummaryView
operation contains
* information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in
* the request, the array contains only the intents with the
* specified label.
*
* An array of information about the intents used in the session. The array
* can contain a maximum of three summaries. If more than three intents are
* used in the session, the recentIntentSummaryView
operation
* contains information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in the
* request, the array contains only the intents with the specified label.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param recentIntentSummaryView
* An array of information about the intents used in the session.
* The array can contain a maximum of three summaries. If more
* than three intents are used in the session, the
* recentIntentSummaryView
operation contains
* information about the last three intents used.
*
* If you set the checkpointLabelFilter
parameter in
* the request, the array contains only the intents with the
* specified label.
*
* Map of key/value pairs representing the session-specific context * information. It contains application information passed between Amazon * Lex and a client application. *
* * @return* Map of key/value pairs representing the session-specific context * information. It contains application information passed between * Amazon Lex and a client application. *
*/ public java.util.Map* Map of key/value pairs representing the session-specific context * information. It contains application information passed between Amazon * Lex and a client application. *
* * @param sessionAttributes* Map of key/value pairs representing the session-specific * context information. It contains application information * passed between Amazon Lex and a client application. *
*/ public void setSessionAttributes(java.util.Map* Map of key/value pairs representing the session-specific context * information. It contains application information passed between Amazon * Lex and a client application. *
** Returns a reference to this object so that method calls can be chained * together. * * @param sessionAttributes
* Map of key/value pairs representing the session-specific * context information. It contains application information * passed between Amazon Lex and a client application. *
* @return A reference to this updated object so that method calls can be * chained together. */ public GetSessionResult withSessionAttributes(java.util.Map* Map of key/value pairs representing the session-specific context * information. It contains application information passed between Amazon * Lex and a client application. *
*
* The method adds a new key-value pair into sessionAttributes parameter,
* and returns a reference to this object so that method calls can be
* chained together.
*
* @param key The key of the entry to be added into sessionAttributes.
* @param value The corresponding value of the entry to be added into
* sessionAttributes.
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public GetSessionResult addsessionAttributesEntry(String key, String value) {
if (null == this.sessionAttributes) {
this.sessionAttributes = new java.util.HashMap
* Returns a reference to this object so that method calls can be chained
* together.
*/
public GetSessionResult clearsessionAttributesEntries() {
this.sessionAttributes = null;
return this;
}
/**
*
* A unique identifier for the session.
*
* A unique identifier for the session.
*
* A unique identifier for the session.
*
* A unique identifier for the session.
*
* A unique identifier for the session.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param sessionId
* A unique identifier for the session.
*
* Describes the current state of the bot.
*
* Describes the current state of the bot.
*
* Describes the current state of the bot.
*
* Describes the current state of the bot.
*
* Describes the current state of the bot.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param dialogAction
* Describes the current state of the bot.
*
* A list of active contexts for the session. A context can be set when an
* intent is fulfilled or by calling the
* You can use a context to control the intents that can follow up an
* intent, or to modify the operation of your application.
*
* A list of active contexts for the session. A context can be set
* when an intent is fulfilled or by calling the
*
* You can use a context to control the intents that can follow up
* an intent, or to modify the operation of your application.
*
* A list of active contexts for the session. A context can be set when an
* intent is fulfilled or by calling the
* You can use a context to control the intents that can follow up an
* intent, or to modify the operation of your application.
*
* A list of active contexts for the session. A context can be
* set when an intent is fulfilled or by calling the
*
* You can use a context to control the intents that can follow
* up an intent, or to modify the operation of your application.
*
* A list of active contexts for the session. A context can be set when an
* intent is fulfilled or by calling the
* You can use a context to control the intents that can follow up an
* intent, or to modify the operation of your application.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param activeContexts
* A list of active contexts for the session. A context can be
* set when an intent is fulfilled or by calling the
*
* You can use a context to control the intents that can follow
* up an intent, or to modify the operation of your application.
*
* A list of active contexts for the session. A context can be set when an
* intent is fulfilled or by calling the
* You can use a context to control the intents that can follow up an
* intent, or to modify the operation of your application.
*
* Returns a reference to this object so that method calls can be chained
* together.
*
* @param activeContexts
* A list of active contexts for the session. A context can be
* set when an intent is fulfilled or by calling the
*
* You can use a context to control the intents that can follow
* up an intent, or to modify the operation of your application.
* PostContent
,
* PostText
, or PutSession
operation.
* PostContent
, PostText
, or
* PutSession
operation.
* PostContent
,
* PostText
, or PutSession
operation.
* PostContent
, PostText
, or
* PutSession
operation.
* PostContent
,
* PostText
, or PutSession
operation.
* PostContent
, PostText
, or
* PutSession
operation.
* PostContent
,
* PostText
, or PutSession
operation.
* PostContent
, PostText
, or
* PutSession
operation.
*