public OutputContext withTurnsToLive(Integer turnsToLive) {
        setTurnsToLive(turnsToLive);
        return this;
    }
<p>
The number of conversation turns that the context should be active. A conversation turn is one
<code>PostContent</code> or <code>PostText</code> request and the corresponding response from Amazon Lex.
</p>

@param turnsToLive
       The number of conversation turns that the context should be active. A conversation turn is one
       <code>PostContent</code> or <code>PostText</code> request and the corresponding response from Amazon Lex.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelbuilding/src/main/java/com/amazonaws/services/lexmodelbuilding/model/OutputContext.java