public StartSessionRequest withReason(String reason) {
        setReason(reason);
        return this;
    }
<p>
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events
event created when you start the session.
</p>

@param reason
       The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch
       Events event created when you start the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/StartSessionRequest.java