public void setRoleSessionName(String roleSessionName) {
        this.roleSessionName = roleSessionName;
    }
<p>
An identifier for the assumed role session.
</p>
<p>
Use the role session name to uniquely identify a session when the same role is assumed by different principals or
for different reasons. In cross-account scenarios, the role session name is visible to, and can be logged by the
account that owns the role. The role session name is also used in the ARN of the assumed role principal. This
means that subsequent cross-account API requests that use the temporary security credentials will expose the role
session name to the external account in their CloudTrail logs.
</p>
<p>
The regex used to validate this parameter is a string of characters consisting of upper- and lower-case
alphanumeric characters with no spaces. You can also include underscores or any of the following characters: =,.@-
</p>

@param roleSessionName
       An identifier for the assumed role session.</p>
       <p>
       Use the role session name to uniquely identify a session when the same role is assumed by different
       principals or for different reasons. In cross-account scenarios, the role session name is visible to, and
       can be logged by the account that owns the role. The role session name is also used in the ARN of the
       assumed role principal. This means that subsequent cross-account API requests that use the temporary
       security credentials will expose the role session name to the external account in their CloudTrail logs.
       </p>
       <p>
       The regex used to validate this parameter is a string of characters consisting of upper- and lower-case
       alphanumeric characters with no spaces. You can also include underscores or any of the following
       characters: =,.@-
aws-java-sdk-sts/src/main/java/com/amazonaws/services/securitytoken/model/AssumeRoleRequest.java