public InlongStreamInfo getStreamIfExists(InlongStreamInfo streamInfo) {
        if (this.isStreamExists(streamInfo)) {
            return getStreamInfo(streamInfo.getInlongGroupId(), streamInfo.getInlongStreamId());
        }
        return null;
    }
Get inlong stream by the given inlong group id and stream id.

@param streamInfo the given inlong stream info
@return inlong stream info if exists, null will be returned if not exits
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/InlongStreamClient.java