public String getSessionId() {
        return this.sessionId;
    }
<p>
The unique identifier of the session. When you first make a <code>RetrieveAndGenerate</code> request, Amazon
Bedrock automatically generates this value. You must reuse this value for all subsequent requests in the same
conversational session. This value allows Amazon Bedrock to maintain context and knowledge from previous
interactions. You can't explicitly set the <code>sessionId</code> yourself.
</p>

@return The unique identifier of the session. When you first make a <code>RetrieveAndGenerate</code> request,
        Amazon Bedrock automatically generates this value. You must reuse this value for all subsequent requests
        in the same conversational session. This value allows Amazon Bedrock to maintain context and knowledge
        from previous interactions. You can't explicitly set the <code>sessionId</code> yourself.
aws-java-sdk-bedrockagentruntime/src/main/java/com/amazonaws/services/bedrockagentruntime/model/RetrieveAndGenerateRequest.java