public PutSessionRequest withActiveContexts(java.util.Collection<ActiveContext> activeContexts) {
        setActiveContexts(activeContexts);
        return this;
    }
<p>
A list of contexts active for the request. A context can be activated when a previous intent is fulfilled, or by
including the context in the request,
</p>
<p>
If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session. If you
specify an empty list, all contexts for the session are cleared.
</p>

@param activeContexts
       A list of contexts active for the request. A context can be activated when a previous intent is fulfilled,
       or by including the context in the request,</p>
       <p>
       If you don't specify a list of contexts, Amazon Lex will use the current list of contexts for the session.
       If you specify an empty list, all contexts for the session are cleared.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lex/src/main/java/com/amazonaws/services/lexruntime/model/PutSessionRequest.java