public StreamConfiguration withMaxSessionLengthInMinutes(Integer maxSessionLengthInMinutes) {
        setMaxSessionLengthInMinutes(maxSessionLengthInMinutes);
        return this;
    }
<p>
The length of time, in minutes, that a streaming session can be active before it is stopped or terminated. After
this point, Nimble Studio automatically terminates or stops the session. The default length of time is 690
minutes, and the maximum length of time is 30 days.
</p>

@param maxSessionLengthInMinutes
       The length of time, in minutes, that a streaming session can be active before it is stopped or terminated.
       After this point, Nimble Studio automatically terminates or stops the session. The default length of time
       is 690 minutes, and the maximum length of time is 30 days.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-nimblestudio/src/main/java/com/amazonaws/services/nimblestudio/model/StreamConfiguration.java