public CreateRobotApplicationVersionRequest withCurrentRevisionId(String currentRevisionId) {
        setCurrentRevisionId(currentRevisionId);
        return this;
    }
<p>
The current revision id for the robot application. If you provide a value and it matches the latest revision ID,
a new version will be created.
</p>

@param currentRevisionId
       The current revision id for the robot application. If you provide a value and it matches the latest
       revision ID, a new version will be created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-robomaker/src/main/java/com/amazonaws/services/robomaker/model/CreateRobotApplicationVersionRequest.java