/*
* Copyright 2018-2023 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.lexruntime.model;
import java.io.Serializable;
import javax.annotation.Generated;
/**
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class GetSessionResult extends com.amazonaws.AmazonWebServiceResult
* 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
* If you set the
* Map of key/value pairs representing the session-specific context information. It contains application information
* passed between Amazon Lex and a client application.
*
* A unique identifier for the session.
*
* 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.
*
* 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
* If you set the recentIntentSummaryView
operation
* contains information about the last three intents used.
* checkpointLabelFilter
parameter in the request, the array contains only the intents
* with the specified label.
* PostContent
, PostText
, or PutSession
operation.
* recentIntentSummaryView
operation
* contains information about the last three intents used.
* checkpointLabelFilter
parameter in the request, the array contains only the intents
* with the specified label.
* recentIntentSummaryView
* operation contains information about the last three intents used.
* If you set the
* 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
* If you set the checkpointLabelFilter
parameter in the request, the array contains only the
* intents with the specified label.
*/
public java.util.ListrecentIntentSummaryView
operation
* contains information about the last three intents used.
* checkpointLabelFilter
parameter in the request, the array contains only the intents
* with the specified label.
* recentIntentSummaryView
* operation contains information about the last three intents used.
* If you set the
* 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
* If you set the
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setRecentIntentSummaryView(java.util.Collection)} or
* {@link #withRecentIntentSummaryView(java.util.Collection)} if you want to override the existing values.
* checkpointLabelFilter
parameter in the request, the array contains only the
* intents with the specified label.
*/
public void setRecentIntentSummaryView(java.util.CollectionrecentIntentSummaryView
operation
* contains information about the last three intents used.
* checkpointLabelFilter
parameter in the request, the array contains only the intents
* with the specified label.
* recentIntentSummaryView
* operation contains information about the last three intents used.
* If you set the
* 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
* If you set the checkpointLabelFilter
parameter in the request, the array contains only the
* intents with the specified label.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSessionResult withRecentIntentSummaryView(IntentSummary... recentIntentSummaryView) {
if (this.recentIntentSummaryView == null) {
setRecentIntentSummaryView(new java.util.ArrayListrecentIntentSummaryView
operation
* contains information about the last three intents used.
* checkpointLabelFilter
parameter in the request, the array contains only the intents
* with the specified label.
* recentIntentSummaryView
* operation contains information about the last three intents used.
* If you set the
* Map of key/value pairs representing the session-specific context information. It contains application information
* passed between Amazon Lex and a client application.
*
* Map of key/value pairs representing the session-specific context information. It contains application information
* passed between Amazon Lex and a client application.
*
* Map of key/value pairs representing the session-specific context information. It contains application information
* passed between Amazon Lex and a client application.
*
* A unique identifier for the session.
*
* A unique identifier for the session.
*
* 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.
*
* 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.
* checkpointLabelFilter
parameter in the request, the array contains only the
* intents with the specified label.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSessionResult withRecentIntentSummaryView(java.util.CollectionPostContent
, PostText
, or PutSession
operation.
* 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.
*/
public java.util.List
* 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.
* You can use a context to control the intents that can follow up an intent, or to modify the operation of
* your application.
*/
public void setActiveContexts(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setActiveContexts(java.util.Collection)} or {@link #withActiveContexts(java.util.Collection)} if you want
* to override the existing values.
* PostContent
, PostText
, or PutSession
operation.
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSessionResult withActiveContexts(ActiveContext... activeContexts) {
if (this.activeContexts == null) {
setActiveContexts(new java.util.ArrayList
* 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.
* You can use a context to control the intents that can follow up an intent, or to modify the operation of
* your application.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetSessionResult withActiveContexts(java.util.Collection