public Boolean getAcceptRoleSessionName() {
        return this.acceptRoleSessionName;
    }
<p>
Used to determine if a custom role session name will be accepted in a temporary credential request.
</p>

@return Used to determine if a custom role session name will be accepted in a temporary credential request.
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/ProfileDetail.java