public UpdateAgentRequest withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) {
        setIdleSessionTTLInSeconds(idleSessionTTLInSeconds);
        return this;
    }
<p>
The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the agent.
</p>
<p>
A user interaction remains active for the amount of time specified. If no conversation occurs during this time,
the session expires and Amazon Bedrock deletes any data provided before the timeout.
</p>

@param idleSessionTTLInSeconds
       The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the
       agent.</p>
       <p>
       A user interaction remains active for the amount of time specified. If no conversation occurs during this
       time, the session expires and Amazon Bedrock deletes any data provided before the timeout.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/UpdateAgentRequest.java