public GetStreamSessionRequest withStreamId(String streamId) {
        setStreamId(streamId);
        return this;
    }
<p>
Unique identifier for a live or previously live stream in the specified channel. If no <code>streamId</code> is
provided, this returns the most recent stream session for the channel, if it exists.
</p>

@param streamId
       Unique identifier for a live or previously live stream in the specified channel. If no
       <code>streamId</code> is provided, this returns the most recent stream session for the channel, if it
       exists.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ivs/src/main/java/com/amazonaws/services/ivs/model/GetStreamSessionRequest.java